Forum Discussion
ZSCORE from Measure
Hi Anonymous ,
According to your requirements, you can directly return the created parameter and observe its return value unit format, because it is possible that sum (parameter) and average (parameter) do not support calculating percentages. The format can be modified in Format. If it is not caused by the above reasons, whether we can provide a detailed data model and expected results, I will answer for you as soon as possible.
Let me know the result immediately, looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous5 years agoNot applicable
Hello v-henryk-mstf !
Thank you for your comments.
I have created a new measure called "MyMeasure" and saved it as whole number as follows:
MyMeasure = (CALCULATE(SUM('Data'[Amount]),'Dim1'[Name]="SALES") + CALCULATE(sum('Data'[Amount]), 'Dim1'[Name2]="COST")) / CALCULATE(SUM('Data'[Amount]),'Dim1'[Name]="SALES")However, now if I try to created a new measure, lets say "NewMeasure" base on "MyMeasure", PowerBI does not allow me to select it. It would like as follows:
NewMeasure = IFERROR((((CALCULATE(SUM(MyMeasure ), FILTER(ALL('Data'[Date]), 'Data'[Date]= Max('Data'[Date]) )))) - AVERAGE(MyMeasure )) / STDEV.S(MyMeasure ), BLANK())Is it possible what I am trying to do? Or should I try any other way?
Thank you again!