Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
gma
Frequent Visitor

Visual Level Totals in Table/Matrix

Hi Here is the requirement where its not feasible in power bi table/matrix visual but which is possible in Excel.

Column 1Measure 1Column 2Measure 2Measure 1 / Measure 2Need this Output in Table/ Matrix
13%25%54%54%
411%615%72%72%
514%923%60%60%
617%718%93%93%
822%38%289%289%
925%410%244%244%
38%821%41%

41%

36100%39100%100%853%

Need this 853% as Output in Visual

 

Column 1Measure 1Column 2Measure 2Measure 1 / Measure 2Need this Output
1=A2/$A$92=C2/$C$9=B2/D2=C2/E2
4=A3/$A$96=C3/$C$9=B3/D3=C3/E3
5=A4/$A$99=C4/$C$9=B4/D4=C4/E4
6=A5/$A$97=C5/$C$9=B5/D5=C5/E5
8=A6/$A$93=C6/$C$9=B6/D6=C6/E6
9=A7/$A$94=C7/$C$9=B7/D7=C7/E7
3=A8/$A$98=C8/$C$9=B8/D8=C8/E8
=SUM(A2:A8)=SUM(B2:B8)=SUM(C2:C8)=SUM(D2:D8)=B9/D9=SUM(E2:E8)

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

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.

vpollymsft_0-1677634809338.png

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.

View solution in original post

3 REPLIES 3
gma
Frequent Visitor

Fantastic, it worked extactly matched with requirement.

Anonymous
Not applicable

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.

vpollymsft_0-1677634809338.png

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.