Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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] where ([Coutry] = 'USA'
Any help will be greatly appreciated
thanks
Solved! Go to Solution.
Total Sales USA = CALCULATE([TotalSales], [Coutry] = "USA")
This doesn't work in PowerBI Desktop
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!
Total Sales USA = CALCULATE([TotalSales], [Coutry] = "USA")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 130 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |