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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
zohlander
New Member

Show a measure only as a Total Column in Matrix (ISINSCOPE)

Hello, I hope that you are well! I am facing a problem that I can't solve and I need help.

 

zohlander_0-1724362830371.png

I've created a matrix with two measures: Sales Amount and Target. My idea is to hide the measure "Target" from the date columns. I could solve it by using ISINSCOPE, changing the measures name to "" and decreasing the column width to the minimum. 

 

But the problem is that, when deleting the name of the measure, the column with its total has no name and it is not very intuitive for the client. Also, in the actual report I have to add more columns like this and, when hiding them, it shows that there is space in between.

 

It looks bad

zohlander_1-1724363593383.png

Do you know another approach to solve this?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @zohlander ,

I create a table as you mentioned.

vyilongmsft_0-1724727938141.png

Then I create a measure and here is the DAX code.

 

Measure = 
IF(
    ISINSCOPE('Table'[Date]),
    BLANK(),
    MAX('Table'[Target])
)

 

Finally I put it into the matrix visual.

vyilongmsft_0-1724736018728.png

vyilongmsft_1-1724728131970.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @zohlander ,

I create a table as you mentioned.

vyilongmsft_0-1724727938141.png

Then I create a measure and here is the DAX code.

 

Measure = 
IF(
    ISINSCOPE('Table'[Date]),
    BLANK(),
    MAX('Table'[Target])
)

 

Finally I put it into the matrix visual.

vyilongmsft_0-1724736018728.png

vyilongmsft_1-1724728131970.png

 

 

 

Best Regards

Yilong Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

 I could solve it by using ISINSCOPE, changing the measures name to "" and decreasing the column width to the minimum. 

Keep the name. Set the column header word wrap to off, disable auto column resizing, and then minimize the column width.

This solution is not future proof. As soon as new values appear in the column headers, the column header is populated with your measure name even if it is to display blank values. 

For example, if you use a date hierarchy, you have to change the column headers for each and every level of the hierarchy; and as soon as new dates arise, the manual resizing is mandatory. 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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