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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I have a very sample DAX Switch function to create a new column of Total Sales greater than 6 millions But it does not work correctly in the report. Could you please help to see why?
Dax Switch function :
Column of checking sum of list price for each country = SWITCH(true(),SUM(TrainingSample2[ListPrice])>6000000,"Sum of List Price greater than 6 Millions","Sum of List Price Below 6 Millions")
The Report
Thanks,
Dm
Solved! Go to Solution.
Hello,
Thank you. The problem is resolved. I need to use the create new measure for the calculate dax function.
DM
Nice day!!
MMH since it's a simple condition test with an if instead, it should work
Hello,
Thank you. The problem is resolved. I need to use the create new measure for the calculate dax function.
DM
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!