Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
I have to filter " Claimed Amount" Column with two criteria.
I have entered Measure as below:
Remuneration Claimed (INR) = CALCULATE( sum('NKC MM'[Claimed Amount]), filter(all ('NKC MM'[CAT]), 'NKC MM'[CAT]= "B" && 'NKC MM'[CAT]= "C"))
The Filter does not show any value in the dashboard.
I want to filter "Claimed Amount" with Categories " B" AND "C" both
Can someone help!
Solved! Go to Solution.
This is a single column and to get both values B and C you need to use the OR operator (not AND)
You want the Column to be either "B "or "C" (but it can't be B and C at the same time - it can be only be B OR C one at a time)
Remuneration Claimed (INR) =
CALCULATE (
SUM ( 'NKC MM'[Claimed Amount] ),
FILTER ( ALL ( 'NKC MM'[CAT] ), 'NKC MM'[CAT] = "B" || 'NKC MM'[CAT] = "C" )
)Hope this helps and makes sense! ![]()
This is a single column and to get both values B and C you need to use the OR operator (not AND)
You want the Column to be either "B "or "C" (but it can't be B and C at the same time - it can be only be B OR C one at a time)
Remuneration Claimed (INR) =
CALCULATE (
SUM ( 'NKC MM'[Claimed Amount] ),
FILTER ( ALL ( 'NKC MM'[CAT] ), 'NKC MM'[CAT] = "B" || 'NKC MM'[CAT] = "C" )
)Hope this helps and makes sense! ![]()
Hi,
I have been trying to get a sum work with multiple criteria using the above example, and it's not working. I have tried both the following formulas. Both of these formulas are seem to be correct in desktop, meaning I am not getting an error on the actual syntax of these formulas.
This formula does give a result, however it is not the correct result.
Quality Sales = CALCULATE([Total Sales],
'Fact Agency Data'[Status] in {"Issue Paid", "Issue Paid|ARF", "Issue Paid|PDR", "Issued Paid|NY PIF", "Issued Paid|PDR|NY PIF" }
)
This formula doesn't return any results.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 38 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 34 | |
| 33 | |
| 30 |