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.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
105 | |
88 | |
74 | |
66 |
User | Count |
---|---|
126 | |
111 | |
100 | |
83 | |
71 |