PromptBase
Upgrade
Close icon
General
Home
Marketplace
Create
Hire
Login
Chat
Sell
Explore

Prompt Details

Model
(claude-4-6-sonnet)
Token size
292
Example input
[ConditionColumnA]: PaymentReceived [ConditionColumnB]: ItemsShipped [ExemptColumn]: IsExempt [TableName]: Orders
Example output
// Example 1: Orders table — PaymentReceived and ItemsShipped are the two conditions, IsExempt is the exempt flag Compliance Status = SWITCH( TRUE(), // Exempt: row is marked as excluded from compliance checks Orders[IsExempt] = TRUE(), "Exempt", // Compliant: payment received AND items shipped Orders[PaymentReceived] = TRUE() && Orders[ItemsShipped] = TRUE(), "Compliant", // Partial: one condition met but not both Orders[PaymentReceived] = TRUE() || Orders[ItemsShipped] = TRUE(), "Partial", // Non-Compliant: neither condition met "Non-Compliant" ) // Self-check: possible output values are Compliant, Partial, Non-Compliant, Exempt
🌀 Claude

Dax Boolean Compliance Checker

Add to Cart
Instant accessInstant access
Usage rightsCommercial use
Money-back guaranteeMoney‑back
By purchasing this prompt, you agree to our terms of service
CLAUDE-4-6-SONNET
Tested icon
Guide icon
4 examples icon
Free credits icon
Evaluate any combination of true/false columns in Power BI to return Compliant, Partial, Non-Compliant, or Exempt. Paste your column names and conditions — get a clean, production-ready DAX calculated column with inline comments and a self-check note. Built for Power BI report developers who need consistent, auditable compliance logic.
...more
Added 1 week ago
Report
Browse Marketplace