Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Define measure for data

Hi   I wish to have one measure which filter one region from results and show test message or blank cell.    below table has required details and "Results" column should be the measure results  ...
  • PC2790's avatar
    PC2790
    5 years ago

    Hi ,

     

    If you want 0 instead of the string the below measure can be used:

    Result with 0 = SWITCH(True(),RegionTable[Region] = "EMEA",0,CALCULATE(AVERAGE(RegionTable[UTZ]),ALLEXCEPT(RegionTable,RegionTable[Region])))

     

    As you need the calculation to happen against each value, I am afraid the measure won't do in this case.

    You can find the file here for your reference and it contains both ways with string and 0.

     

    Thanks