Forum Discussion
Define measure for data
- 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
Hi Anonymous
Sorry it's not clear what you want. Can you please provide the rest of your data and a clearer explanation of what you are trying to do.
Regards
Phil
- Anonymous5 years agoNot applicable
Hi
I have table like shared above query and wish to have a measure which gives me an average of UTZ column and i want to create measure which will give me average of those rows which don't have EMEA in region column.
rest all regions average should be replact in measure
Hope i am clear on my query