Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
I want to display the sum (higlighted in green) only on the line higlighted in yellow. Is there any way of just doing the calculation at this level and displaying it without it going to higher/lower row levels?
Edit: Noticed I probably should've added some context. Here is what I have come up with so far, using this formula
I really just need it to output at the yellow line level. Hopefully someone has had this same request out there.
Edit 2: Figured out something else now and I just want to keep updating my post just incase someone out there ever has this issue.
I still have not figured out how to get the $41,702 only to that specific hierachy level but, if you notice, I was able to get the 36.07 to just that hierarchy.
Here is how I accomplished that:
(Formula for number higlighted in red)
Solved! Go to Solution.
Hi @theonexcent ,
You can create another new measure as below and put this new measure to replace the measure [Cost Labor] on the matrix:
Meascure =
IF (
ISINSCOPE ( 'TrackingAccountsHierarchy'[TrackingAccountIDDescription] )
&& NOT ( ISINSCOPE ( 'TrackingAccountsHierarchy'[CostType] ) ),
Meascure =
IF (
ISINSCOPE ( 'TrackingAccountsHierarchy'[TrackingAccountIDDescription] )
&& NOT ( ISINSCOPE ( 'TrackingAccountsHierarchy'[CostType] ) ),
[Cost Labor],
BLANK ()
),
BLANK ()
)
If the above one can't help you, please provide some raw data in your table 'TrackingAccountsHierarchy' and 'ActualCost' (exclude sensitive data) with Text format and your expected result with backend logic and special examples? By the way, is there any relationship between these two tables? If yes, please provide the related info. It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
Hi @theonexcent ,
You can create another new measure as below and put this new measure to replace the measure [Cost Labor] on the matrix:
Meascure =
IF (
ISINSCOPE ( 'TrackingAccountsHierarchy'[TrackingAccountIDDescription] )
&& NOT ( ISINSCOPE ( 'TrackingAccountsHierarchy'[CostType] ) ),
Meascure =
IF (
ISINSCOPE ( 'TrackingAccountsHierarchy'[TrackingAccountIDDescription] )
&& NOT ( ISINSCOPE ( 'TrackingAccountsHierarchy'[CostType] ) ),
[Cost Labor],
BLANK ()
),
BLANK ()
)
If the above one can't help you, please provide some raw data in your table 'TrackingAccountsHierarchy' and 'ActualCost' (exclude sensitive data) with Text format and your expected result with backend logic and special examples? By the way, is there any relationship between these two tables? If yes, please provide the related info. It would be helpful to find out the solution. You can refer the following links to share the required info:
How to provide sample data in the Power BI Forum
And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.
How to upload PBI in Community
Best Regards
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
74 | |
73 | |
56 | |
38 | |
31 |
User | Count |
---|---|
84 | |
63 | |
63 | |
49 | |
45 |