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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Michelle113
Microsoft Employee
Microsoft Employee

How to display pre-calculated non-aggregated value in decomposition tree or matrix?

I am facing the issue when use decomposition tree to analysis non-aggregation measures. (Percentile 75 of duration)

My dataset like:

level1level2level3level4 Percentile-75
Homepage   3
HomepageWorkbenchpage  2
HomepageWorkbenchpagePolicies 5
HomepageWorkbenchpageAlert 1

The analyze is target at Percentile-75, explain by level1,level2,level3,level4. 

Composition Tree analyze measure has default aggregation function. 

Our expecting analysis is based on the pre-calculated percentile-75 in the dataset. 

Explain by each level display the specific value without any aggregation.

Could anyone share if there's any method to realize this requirement? Thanks!

Michelle113_0-1616615665135.png

 

 

1 ACCEPTED SOLUTION
v-kelly-msft
Community Support
Community Support

Hi  @Michelle113 ,

 

Create a measure as below:

measure = IF(ISINSCOPE('Table'[level4 ]),
CALCULATE(SUM('Table'[Percentile-75]),FILTER(ALL('Table'),'Table'[level4 ]=MAX('Table'[level4 ])&&'Table'[level4 ]<>BLANK())),
IF(ISINSCOPE('Table'[level3]),
CALCULATE(SUM('Table'[Percentile-75]),FILTER(ALL('Table'),'Table'[level3]=MAX('Table'[level3])&&'Table'[level3]<>BLANK())),
IF(ISINSCOPE('Table'[level2]),
CALCULATE(SUM('Table'[Percentile-75]),FILTER(ALL('Table'),'Table'[level2]=MAX('Table'[level2])&&'Table'[level2]<>BLANK())),
IF(ISINSCOPE('Table'[level1]),
CALCULATE(SUM('Table'[Percentile-75]),FILTER(ALL('Table'),'Table'[level1]=MAX('Table'[level1])&&'Table'[level1]<>BLANK())),
BLANK()))))

And you will see:

v-kelly-msft_0-1616985102752.png

 

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

 

View solution in original post

2 REPLIES 2
Michelle113
Microsoft Employee
Microsoft Employee

Thank you so much, Kelly!  It's a wonderful solution. I am unblocked with it.

v-kelly-msft
Community Support
Community Support

Hi  @Michelle113 ,

 

Create a measure as below:

measure = IF(ISINSCOPE('Table'[level4 ]),
CALCULATE(SUM('Table'[Percentile-75]),FILTER(ALL('Table'),'Table'[level4 ]=MAX('Table'[level4 ])&&'Table'[level4 ]<>BLANK())),
IF(ISINSCOPE('Table'[level3]),
CALCULATE(SUM('Table'[Percentile-75]),FILTER(ALL('Table'),'Table'[level3]=MAX('Table'[level3])&&'Table'[level3]<>BLANK())),
IF(ISINSCOPE('Table'[level2]),
CALCULATE(SUM('Table'[Percentile-75]),FILTER(ALL('Table'),'Table'[level2]=MAX('Table'[level2])&&'Table'[level2]<>BLANK())),
IF(ISINSCOPE('Table'[level1]),
CALCULATE(SUM('Table'[Percentile-75]),FILTER(ALL('Table'),'Table'[level1]=MAX('Table'[level1])&&'Table'[level1]<>BLANK())),
BLANK()))))

And you will see:

v-kelly-msft_0-1616985102752.png

 

For the related .pbix file,pls see attached.

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

 

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.