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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
powerbiexpert22
Impactful Individual
Impactful Individual

average calculation drill through

i am using below average calculation which shows daily average cases, if i drill through from bar chart from Summary page, then below calculation shows incorrect results. Keep all filters option is on. i want to make it dynamic based on slicers on summary page such as date and other dimensions

 

Average New Cases  =
VAR a=
CALCULATE(
    SUM(CASE_FACT[is_flag]),
CASE_FACT[State]="New",ACCOUNT[Acc_Type]="Customer")
 
VAR b=
DISTINCTCOUNT(DIM_DATE[Date])
RETURN
DIVIDE(a,b)
1 ACCEPTED SOLUTION
Thejeswar
Super User
Super User

Hi @powerbiexpert22 ,

Drill through works by passing the dimensions from the Parent visual to the drill through page. 

In your case, although you are displaying the measure b in your bar chart, when you drill through, it is going to pass all the other dimensions that are part of the visual.

 

For example, if your x axis is state and y axis is b, only state gets passed to the drill through page when you drill through. Try having all the dimensions that you want to pass to the drill through page in the summary page bar chart. 

 

Regards,

View solution in original post

1 REPLY 1
Thejeswar
Super User
Super User

Hi @powerbiexpert22 ,

Drill through works by passing the dimensions from the Parent visual to the drill through page. 

In your case, although you are displaying the measure b in your bar chart, when you drill through, it is going to pass all the other dimensions that are part of the visual.

 

For example, if your x axis is state and y axis is b, only state gets passed to the drill through page when you drill through. Try having all the dimensions that you want to pass to the drill through page in the summary page bar chart. 

 

Regards,

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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