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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.