cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
andreazambon
Helper IV
Helper IV

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
Super User
Super User

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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors