Forum Discussion

poojithas's avatar
poojithas
Helper III
3 years ago
Solved

Incorrect measure values

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.

 

 

 

 

 

1 Reply

  • wdx223_Daniel's avatar
    wdx223_Daniel
    Community Champion

    NewMeasure=SUMX(VALUES(Table[LOCN]),CALCULATE(your code))