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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
GAURAV7781
Helper III
Helper III

Show total at cell level in matrix

Dear Experinced one 

 

I have requirement wher in i have showcase all columns value at cell level

 

a.PNG

If I select Brand in slicer then also it should should 121

I have tried dax measure as Calculate (Sum(Value),AllSelected(Dataset),Values(Dataset[Period])  which is giving me grand total in all cells, Please help

GAURAV7781_0-1609854335515.png

 

below is the attached dataset:

https://onedrive.live.com/embed?resid=3EC4F058F07E9D81%21119&authkey=%21ANzmpqgAazgCtjA&em=2&AllowTy...

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @GAURAV7781 

You can try my measure to use all function to achieve your goal.

My measure:

M_Value = SUMX(CALCULATETABLE('Table',ALL('Table'[Brand])),[Value])

Result is as below.

By Default:

1.png

Select State in slicer:

2.png

You can download the pbix file from this link: Show total at cell level in matrix

 

Best Regards,

Rico Zhou

 

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

6 REPLIES 6
Anonymous
Not applicable

Hi @GAURAV7781 

You can try my measure to use all function to achieve your goal.

My measure:

M_Value = SUMX(CALCULATETABLE('Table',ALL('Table'[Brand])),[Value])

Result is as below.

By Default:

1.png

Select State in slicer:

2.png

You can download the pbix file from this link: Show total at cell level in matrix

 

Best Regards,

Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

ryan_mayu
Super User
Super User

@GAURAV7781 

maybe you can try this

Measure = CALCULATE(SUM('Table'[Value]),REMOVEFILTERS('Table'[Brand]))

1.PNG

please see the attachment below

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




amitchandak
Super User
Super User

@GAURAV7781 , I think this should work

 

Calculate (Sum(Dataset[Value]),AllSelected(Dataset)))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I tried but when i select Brand it dont show column total

GAURAV7781_0-1609855880390.png

 

@GAURAV7781 

have you tried my solution. Does it work for you?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




@GAURAV7781 , You are filtering brand then only one brand is there, then the total will match with that brand.

Please check You have shown filter of Market in the first screen shot

 

If you want to ignore all filters

Calculate (Sum(Dataset[Value]),All(Dataset)))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.