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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Mclovin100
Frequent Visitor

Drill through using a filter

I have a line chart and each line got the following measures

Measure = 
var a =calculate(counta(Student,[ID],Student[Status] = "A", Student[City] = "CA")
var b = calculate(counta(Student,[ID], Student[City] = "CA")
return
a/b

There are 6 other lines thats different for each city so the only change is this

Student[City] = "CA"
I created a new page for drill through that will have the StudentID,Status,City, State columns

and I add the measure to the table

but whenever I click on the drill through its still showing all the records and not filtering 

Is there any workaround this?

 

2 REPLIES 2
Anonymous
Not applicable

Hi @Mclovin100 

You can try to change the Student[City] by using a slicer, the drill down cannot work may be affected by your measure filter,

if the suggestion can not meet your requirement, can you provide some sample picture?

 

Best Regards!

Yolo Zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

AlB
Community Champion
Community Champion

Hi @Mclovin100 

Can you share the pbix that has the issue? Otherwise it is difficult to determine what the problem might be?

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors