March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
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
Date | 7/1/2020 | 8/1/2020 | 9/1/2020 | |||
Resource Name | Commit Hours | Available Hours | Commit Hours | Available Hours | Commit Hours | Available Hours |
Dutt, I | 150 | 24 | 150 | 24 | 150 | 24 |
Project | 150 | 24 | 150 | 24 | 150 | 24 |
D&C | 150 | 24 | 150 | 24 | 150 | 24 |
Total | 150 | 24 | 150 | 24 | 150 | 24 |
She wants the display to look like this:
Date | 7/1/2020 | 8/1/2020 | 9/1/2020 | |||
Resource Name | Commit Hours | Available Hours | Commit Hours | Available Hours | Commit Hours | Available Hours |
Dutt, I | 150 | 24 | 150 | 24 | 150 | 24 |
Project | 150 | 150 | 150 | |||
D&C | 150 | 150 | 150 | |||
Total | 150 | 24 | 150 | 24 | 150 | 24 |
Everything I've found so far is in regard
Solved! Go to Solution.
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.
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.
Hi , @Anonymous
Of course.This function itself is to create a new measure to replace the original field.
Best Regards,
Community Support Team _ Eason
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.
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.
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])
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
134 | |
91 | |
90 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
72 | |
68 |