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
Anonymous
Not applicable

Matrix Visualization - hiding values in columns

Hello everyone, 

 

I showed my Capacity Report to my manager who is somewhat impressed, but feels that there is too much data appearing on the matrix visualization. She asked me if it is possible to hide values within a column and still display a subtotal. For example:

 

Current Display

 

Date7/1/2020 8/1/2020 9/1/2020 
Resource NameCommit HoursAvailable HoursCommit HoursAvailable HoursCommit HoursAvailable Hours
Dutt, I150241502415024
Project150241502415024
D&C150241502415024
Total150241502415024

 

She wants the display to look like this:

Date7/1/2020 8/1/2020 9/1/2020 
Resource NameCommit HoursAvailable HoursCommit HoursAvailable HoursCommit HoursAvailable Hours
Dutt, I150241502415024
Project150 150 150 
D&C150 150 150 
Total150241502415024

 

Everything I've found so far is in regard

2 ACCEPTED SOLUTIONS
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

 

Try mesure as below:

Measure Available hours1 = 
IF (
    SELECTEDVALUE ( Table1[Resource Name] ) = "Project",
    SELECTEDVALUE ( Table1[Available Hours] ),  
    BLANK ()
)
Measure Available hours2 = 
IF (
    ISINSCOPE ( Table1[Resource Name] ),
    [Measure Available hours1],
    SUM ( Table1[Available Hours] )   // you can change it as any value you want(sum,total,max..)
)

Then drag these fields into matrix values.

 

pbix attached

 

Best Regards,
Community Support Team _ Eason
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

Hi , @Anonymous 

Of course.This function itself is to create a new measure to replace the original field.

 

Best Regards,
Community Support Team _ Eason

View solution in original post

5 REPLIES 5
v-easonf-msft
Community Support
Community Support

Hi, @Anonymous 

 

Try mesure as below:

Measure Available hours1 = 
IF (
    SELECTEDVALUE ( Table1[Resource Name] ) = "Project",
    SELECTEDVALUE ( Table1[Available Hours] ),  
    BLANK ()
)
Measure Available hours2 = 
IF (
    ISINSCOPE ( Table1[Resource Name] ),
    [Measure Available hours1],
    SUM ( Table1[Available Hours] )   // you can change it as any value you want(sum,total,max..)
)

Then drag these fields into matrix values.

 

pbix attached

 

Best Regards,
Community Support Team _ Eason
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

sarahr4444
Employee
Employee

You can use ISINSCOPE() to achieve this. 

 

For example:

Count of Product Transactions = 

COUNTX('SalesLT SalesOrderDetail','SalesLT SalesOrderDetail'[SalesOrderID])

 

Rollup = 

IF(ISINSCOPE('SalesLT Product'[Name]),BLANK(),[Count of Product Transactions])

 

sarahr4444_0-1596833185427.png

 

Anonymous
Not applicable

Hello, 

 

Thank you for the inscope() funtion suggestion. I think it is a possible solution, however my available hours value is being calculated as a measure instead of a column. Do you know if this function works on measures?

 

ixdutt

Hi , @Anonymous 

Could you please tell me whether your problem has been solved?
For now, there is no content of description in the thread. If you still need help, please share more details to us.

 

Best Regards,
Community Support Team _ Eason

Hi , @Anonymous 

Of course.This function itself is to create a new measure to replace the original field.

 

Best Regards,
Community Support Team _ Eason

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.