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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
andreazambon
Helper V
Helper V

Hide a column in matrix view, but not its Total column

Hi there. 

I have a matrix view where I put 2 measures. One of these measures calculate the differences between the most recent week and the less recent week (Delta%)

 

I would like to see ONLY the total column of this measure, but I can't find nothing that helps me with that. Any suggestions? Thanks.

 

andreazambon_0-1678894464797.png

 

1 ACCEPTED SOLUTION

Thanks for your answer. 

I'm using "week" value from my date table, but it is the same.

Your measure works fine in order to don't have values on the weeks fields. Anyway, to reduce the width I nees to rename the measure in this view to avoid this:

andreazambon_0-1678975446577.png

 

 

 

and this corrupts the Total column.

 

 

 

View solution in original post

5 REPLIES 5
visheshjain
Solution Supplier
Solution Supplier

Hi @andreazambon,

 

From what I know so far, it is not possible to not show a value in the martix and have it in the totals.
Normally we just change the font color to match the background and then reduce the width of the column so that it is not visible, still I will give it a shot.

I think you are using the year month column from the date table, so try this:
NewDelta = IF(ISINSCOPE(Calendar[Year Month],BLANK(), Delta%)

 

Sorry if the syntax is wrong.

 

Hope this helps.

 

Thank you,
Vishesh Jain

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



Thanks for your answer. 

I'm using "week" value from my date table, but it is the same.

Your measure works fine in order to don't have values on the weeks fields. Anyway, to reduce the width I nees to rename the measure in this view to avoid this:

andreazambon_0-1678975446577.png

 

 

 

and this corrupts the Total column.

 

 

 

Don't rename the column, just resize the width of the column only in the matrix and not the totals, in order to hide it.

It's not a perfect solution but the only workaround possible right now.

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



Is there a function in DAX (as PowerApps) that resize the width of the column if the result is blank?

I dont think there any dax code, that will resize a column.
You can use DAX for conditional formatting and keeping titles dynamic, amongst other things, but not for this.

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.