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

Join 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.

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
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.