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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
ronaldbalza2023
Continued Contributor
Continued Contributor

Custom Matrix Table Total Column

Hi Everyone, I am having difficulty trying to figure out this one. Thanks in advance 🙂

 

Scenario: I have two measures in a matrix table [1] Gross Profit, [2] Gross Profit %.
Problem: How can I show the [2] Gross Profit % measure ONLY in the total column?


Current:

ronaldbalza2023_1-1637672315885.png


Desired result: 

ronaldbalza2023_0-1637672275501.png
Gross Profit

Gross Profit = CALCULATE( IF( [P&L] = 0, BLANK(), COALESCE([P&L],0)))

Gross Profit %

Gross Profit % = DIVIDE( [Total Gross Profit (Journals)], [Total Sales (Journals)], 0 )

 

 

2 ACCEPTED SOLUTIONS
PaulDBrown
Community Champion
Community Champion

You can hide the columns by dragging the right column boundary to the left. You will need to turn off word wrap in the formatting options though.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

They should remain hidden unless the user drags the column to reveal it





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

6 REPLIES 6
PaulDBrown
Community Champion
Community Champion

You can hide the columns by dragging the right column boundary to the left. You will need to turn off word wrap in the formatting options though.





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






@PaulDBrown figure this one out already until you mentioned turning off the word wrap which I think is genius! However, are there any instances that it will show up or it will just hide and it will just show up when you actually unhide it? Thanks alot!

They should remain hidden unless the user drags the column to reveal it





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






@PaulDBrown THANK YOU! 🙂

Greg_Deckler
Super User
Super User

@ronaldbalza2023 I created The New Hotness for this problem: The New Hotness (Custom Matrix Hierarchy) - Microsoft Power BI Community


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler, thanks for taking the time on this. That's a lot of work I'd say for a simple problem (kinda) :D. Appreciated it!

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.