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.
Hi All,
I have created a measure with the below logic.
When I use this measure in a table with locn_terr_code and locn field, I get the expected result.
But, when I use the measure with only locn_Terr_code, I am getting inccorect value. Result is showing as zero instead of 1.
Values are not getting summarized.
Could somone help resolve this.
Thank you.
Solved! Go to Solution.
NewMeasure=SUMX(VALUES(Table[LOCN]),CALCULATE(your code))
NewMeasure=SUMX(VALUES(Table[LOCN]),CALCULATE(your code))