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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Krunalbpatel
Helper III
Helper III

Display different value on each drill down level

Hi,

 

I want to display different value on each drill down level. It means that I want to display sum value on First level and on second level I want to display the average value. Is It possible to display this in Power BI? If it is then How can I do this? 

 

Please Help me!

Thanks

1 ACCEPTED SOLUTION
konstantinos
Memorable Member
Memorable Member

@Krunalbpatel  You can try something like this 

 

This is the table I create 

FirstLevel	DrillLevel	Amount
A	C	5
A	D	5
A	C	5
B	F	5
B	F	5
B	E	5

and the formula is 

 

ChangeInDrillDown = 
     VAR  AverageCalc = AVERAGE(TableName[Amount])
     VAR  SumCalc   = SUM(TableName[Amount])

RETURN
IF(ISFILTERED(TableName[DrillLevel]);SumCalc;AverageCalc)

 

Result 

 

1.PNG

 

 

Konstantinos Ioannou

View solution in original post

3 REPLIES 3
konstantinos
Memorable Member
Memorable Member

@Krunalbpatel  You can try something like this 

 

This is the table I create 

FirstLevel	DrillLevel	Amount
A	C	5
A	D	5
A	C	5
B	F	5
B	F	5
B	E	5

and the formula is 

 

ChangeInDrillDown = 
     VAR  AverageCalc = AVERAGE(TableName[Amount])
     VAR  SumCalc   = SUM(TableName[Amount])

RETURN
IF(ISFILTERED(TableName[DrillLevel]);SumCalc;AverageCalc)

 

Result 

 

1.PNG

 

 

Konstantinos Ioannou

@konstantinos Thank you for replying. I got my solution

ankitpatira
Community Champion
Community Champion

@Krunalbpatel what you can do is display sum and average side by side and as you drill down you see them both.

 

Capture.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors