Forum Discussion
nuttybuddy
8 years agoFrequent Visitor
Use WHERE condition in DAX
Hi guys IN SAP Web intelligence, there is a WHERE function available just like SQL. I want to reproduce the below formula in a calculated column in PBI as below Total Sales USA = [TotalSales]...
- 8 years ago
Total Sales USA = CALCULATE([TotalSales], [Coutry] = "USA")
Anonymous
7 years agoNot applicable
This doesn't work in PowerBI Desktop
- k3rz0rg3 years agoAdvocate III
Yes, same with me, that solution does not work on PBD, not sure why that answer was selected as the right answer by the bot!