Forum Discussion
Visual Level Totals in Table/Matrix
- Anonymous3 years ago
Hi gma ,
I have created a simple sample, please refer to my pbix file to see if it helps you.
Create measures.
Measure 1:
Measure 1 = VAR _1=SUMX(ALL('Table'),'Table'[Column 1]) RETURN ROUND(MAX('Table'[Column 1])/_1,2)Measure 1RE = VAR _2=SUMMARIZE('Table','Table'[Index],"AAA",[Measure 1]) RETURN IF(ISINSCOPE('Table'[Index]),[Measure 1],SUMX(_2,[AAA]))Measure 2:
Measure 2 = VAR _1=SUMX(ALL('Table'),'Table'[Column 2]) RETURN ROUND(MAX('Table'[Column 2])/_1,2)Measure 2RE = VAR _2=SUMMARIZE('Table','Table'[Index],"AAA",[Measure 2]) RETURN IF(ISINSCOPE('Table'[Index]),[Measure 2],SUMX(_2,[AAA]))and so on.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ PollyIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi gma ,
I have created a simple sample, please refer to my pbix file to see if it helps you.
Create measures.
Measure 1:
Measure 1 = VAR _1=SUMX(ALL('Table'),'Table'[Column 1])
RETURN
ROUND(MAX('Table'[Column 1])/_1,2)Measure 1RE = VAR _2=SUMMARIZE('Table','Table'[Index],"AAA",[Measure 1])
RETURN
IF(ISINSCOPE('Table'[Index]),[Measure 1],SUMX(_2,[AAA]))
Measure 2:
Measure 2 = VAR _1=SUMX(ALL('Table'),'Table'[Column 2])
RETURN
ROUND(MAX('Table'[Column 2])/_1,2)Measure 2RE = VAR _2=SUMMARIZE('Table','Table'[Index],"AAA",[Measure 2])
RETURN
IF(ISINSCOPE('Table'[Index]),[Measure 2],SUMX(_2,[AAA]))
and so on.
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I can't download the file