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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello guys,
The table has two colums with amounts and I want to calculate the sum of column x when not empty AND if empty then calculate column Y.
To get to the solution I have an measure to calulate X and one to caluclate Y. Then I did the next IF statement:
@Sparkeltje This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
Sorry I forgot something.
The table also has a column named COSTSAVINGS and caluclations of SUM is only for the COST.