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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
carlottaf
Frequent Visitor

Hide column value and keep total in matrix

Hi everyone!

I have a table containing sales by month and a table having the budget by year.
I created a matrix having on the columns the month and on the values sales and budget.

 

I would like to show that sales by month and the budget only by year since I do not have the detail of the budget by month.

I was able to hide the columns of the budget for each month, shrinking the column width, but now the row height is increased.

This is the matrix I obtaied. Ideally I would like to keep the Budget € total and not the value fo reach month.

carlottaf_0-1634224841560.png

 

 

Is there a way to achieve this?

 

Thanks,

Carlotta.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @carlottaf ,

If your original budget calculation formula is similar to sum('table'[budget), you can try to update the measure for budget as below. I just create a sample pbix file(see attachment) for you, please check whether it is OK...

budget =
IF (
    ISINSCOPE ( 'Table'[field on Rows option] )
        && ISINSCOPE ( 'Table'[field on Columns option] ),
    BLANK (),
    SUM ( 'Table'[campaigns] )
)

If the above one is not working for your scenario, could you please provide the Fields pane setting of your matrix? Which field be put on Rows option? It is better if you can provide your simplified pbix file(exclude sensitive info). Thank you.

yingyinr_0-1634630412174.png

Best Regards

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @carlottaf ,

You can refer the solution in the following threads, hope they can help you resolve the problem.

Hiding certain matrix columns, only showing them in total


Turn off Word wrap in the matrix Format pane

yingyinr_0-1634627685225.png

Hiding certain matrix columns, only showing them in total

Best Regards

Hi @Anonymous !

 

I already tried this, but as you can see in the picture I posted, I was able to hide the column Budget for the months but the rows now have a very high height.

Is there a way to avoid it?

Thanks,

Carlotta.

Anonymous
Not applicable

Hi @carlottaf ,

If your original budget calculation formula is similar to sum('table'[budget), you can try to update the measure for budget as below. I just create a sample pbix file(see attachment) for you, please check whether it is OK...

budget =
IF (
    ISINSCOPE ( 'Table'[field on Rows option] )
        && ISINSCOPE ( 'Table'[field on Columns option] ),
    BLANK (),
    SUM ( 'Table'[campaigns] )
)

If the above one is not working for your scenario, could you please provide the Fields pane setting of your matrix? Which field be put on Rows option? It is better if you can provide your simplified pbix file(exclude sensitive info). Thank you.

yingyinr_0-1634630412174.png

Best Regards

Thanks a lot for the suggestion!
Yes the calculation is something like sum('table'[budget). 
I will try your solution and let you know if this solves my problem.

If the problem persists, I will attach the pbix file.

Thanks again,
Carlotta.

amitchandak
Super User
Super User

@carlottaf , not possible by default. You need to use hybrid table workarounds

if you are looking for a Hybrid display with Matrix Column and measure
https://community.powerbi.com/t5/Community-Blog/Creating-a-custom-or-hybrid-matrix-in-PowerBI/ba-p/1...
https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/...

vote for Hybrid Table
https://ideas.powerbi.com/ideas/idea/?ideaid=9bc32b23-1eb1-4e74-8b34-349887b37ebc

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors