Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hello,
I create a measure, i put it in matrix but i want in grand total calculate sum not the calculate of my measure, How i can do that ?
Thanks
Sabine V
Solved! Go to Solution.
Hi @sabine_toulouse ,
Here are the steps you can follow:
1. According to your description, I created sample data.
2. First, suppose you have a measure and find that the sum calculated by this metric is incorrect.
Measure_Sum =
IF(SUM('Table'[Amount])<1000,0,SUM('Table'[Amount]))
3. Then to calculate the sum, you can create a measure.
Calculate Sum =
var Table1=SUMMARIZE('Table','Table'[Date],"_value",[Measure_Sum])
return IF(HASONEVALUE('Table'[Date]),[Measure_Sum],SUMX(Table1,[_value]))
4. Result.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @sabine_toulouse ,
Here are the steps you can follow:
1. According to your description, I created sample data.
2. First, suppose you have a measure and find that the sum calculated by this metric is incorrect.
Measure_Sum =
IF(SUM('Table'[Amount])<1000,0,SUM('Table'[Amount]))
3. Then to calculate the sum, you can create a measure.
Calculate Sum =
var Table1=SUMMARIZE('Table','Table'[Date],"_value",[Measure_Sum])
return IF(HASONEVALUE('Table'[Date]),[Measure_Sum],SUMX(Table1,[_value]))
4. Result.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
It sounds like you need to use ISINSCOPE, but without further information it's hard to help. Can you show the relevante measures, the expected outcome/result and if possible a sample datset or PBIX file?
Proud to be a Super User!
Paul on Linkedin.