Forum Discussion
Calculate issue, something wrong with the context ?
- 5 years ago
admin_xlsior , My Bad, change it like
Count open critical orders = CALCULATE(
DISTINCTCOUNTNOBLANK('Work orders'[Work order number]),
filter('Work orders','Work orders'[Critical] = "Yes" &&
NOT('Work orders'[Status] IN {"Closed", "Invoiced", "Finished", "Canceled"})
))
admin_xlsior , My Bad, change it like
Count open critical orders = CALCULATE(
DISTINCTCOUNTNOBLANK('Work orders'[Work order number]),
filter('Work orders','Work orders'[Critical] = "Yes" &&
NOT('Work orders'[Status] IN {"Closed", "Invoiced", "Finished", "Canceled"})
))
- admin_xlsior5 years agoPost Prodigy
Hi amitchandak
ahh yeah.. I'm about to reply the same 😀
I'm using AND function though, but it is the same idea.
Alhtough I'm still not too convince why I need to use FILTER, I thought CALCULATE will do the same.
Thanks amitchandak