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 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))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |