Forum Discussion
NAV_81
5 years agoFrequent Visitor
DAX - Count with Multiple Filters, Causing Memory Issues.
I am pretty new to DAX and am trying to do a count on some invoicing costs issues, there are some filters that need to apply to show what a true cost issue is. I have got the below to work the way I ...
Mohammad_Refaei
5 years agoSolution Specialist
Can you try this?
Cost Issue Count =
CALCULATE (
COUNTROWS ( Invoices ),
FILTER (
Invoices,
[Cost Issue] < 0
&& [Est GP %] < 0.20
&& [CurrentSellInc] > 0
&& [CurrentSellLocationCode] <> "CLR"
&& [Invoice Status] <> "Killed"
),
FILTER (
'POS Item Details',
[ModuleItem] = "F"
&& [PillarName] <> "Prescriptions"
)
)