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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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

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.