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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
PavelR
Solution Specialist
Solution Specialist

Matrix visual - Measure to be shown only in total's part of visual

Hey guys,

 

I have been struggling with setting up my Matrix visual. What I want to do is to have 3 measures in my Matrix. However, the first two (called DEL and REJ) should be shown normally in a grid section together with totals, but the Monthly Limit measure (which shows Limits for last month) I want to have only in the total's section. Or just standing most on the right side let's say.

 

For better understanding see the picture below:

3measuresMatrix.png

 

Do you have some idea on how to implement it?

 

Thanks in advance.

Pavel

 

1 ACCEPTED SOLUTION
PavelR
Solution Specialist
Solution Specialist

Hi @AlB ,

 

thanks for your reply and tip, however, this is not a much convenient workaround. I would have to reduce column width with every new month and even when I do it the formating is quite bad = lines in the grid do not align, and every row is huge in terms of height due to the reduced columns with values.

 

I will go on with my workaround - report page tooltips.

 

Thanks.

Pavel

View solution in original post

6 REPLIES 6
AlB
Super User
Super User

Hi @PavelR 

A workaround would be:

1. Select the column you want to hide.

2. In the visualization menu, go to Format--> Column headers and set both Auto-size column width and Word wrap to Off

3. In the visual, reduce the width of the column until it disappears completely. This way it will be still there, but completely hidden 

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

 

PavelR
Solution Specialist
Solution Specialist

Hi @AlB ,

 

thanks for your reply and tip, however, this is not a much convenient workaround. I would have to reduce column width with every new month and even when I do it the formating is quite bad = lines in the grid do not align, and every row is huge in terms of height due to the reduced columns with values.

 

I will go on with my workaround - report page tooltips.

 

Thanks.

Pavel

edhans
Super User
Super User

You can turn them off @PavelR - just go into the settings for the matrix, Subtotals, and turn on Per Column setting, then disable the subtotals you don't want.

edhans_0-1605286323691.png

You can see in my mocked up data the subtotals fo the YearMonth are off, but for the grand total it stays visible.

edhans_1-1605286350439.png

 

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting
mahoneypat
Employee
Employee

You can make those columns return blank, but you can't remove them completely.  To make them blank, you can use

NewMeasure = IF(HASONEVALUE(Table[Month]), BLANK(), [Your Expression])

 

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


PavelR
Solution Specialist
Solution Specialist

Hi @mahoneypat ,

thanks for your suggestion. I have already tried that, but it is unfortunately not the result that I want 😕

 

Another workaround has come up my mind and it is actually to use the Report page tooltip. I do not think that there would be anything better...

 

3measuresMatrix2.png

 

Hi Pavel,

Will Monthly_limit appear for each row or only one column for total report ?

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.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors