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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
Anonymous
Not applicable

Why is when I do a drill through, the drill trough's filter is on a wrong table ?

I have this bar chart : 

FlameMoon_0-1637244119803.png

 

When I right-click in the "ret200" bar chart, I have this menu :

FlameMoon_1-1637246416932.png

So it gives me the option to drill through an other page "Détails défauts" that contains a table with the details of the "ret200" values (article, code, description, quantity, etc.).

The table is supposed to show me only the value for the selected bar chart which is in my case "ret200".

But here is the problem, the table contains values that aren't "ret200".

Here is a simplified example :

 

FlameMoon_5-1637247246721.png

In this case, when I do the drill through, it shows me "ret200" which is correct but it also shows me "ret100" which is not correct.

I found where the problem is, but I can't find a way to solve it.

In the Drill through's filter, it creates me a few filters. One of them contains the value of the bar chart that I right clicked on it.

FlameMoon_6-1637247563847.png


"Defect_text" is automacialy filled with "ret200 - defect" which is the text of the item "ret200" (the one selected) and then you say to yourself that the drill through worked well? I thought so...

But the filter is refered to the wrong table in my model. 

As you can see :

 

FlameMoon_7-1637247792241.png

 

I have two columns (foreign key) that are named "defect_text", one is in "Inventory" and the other one is in "Quantity".

And my drill through automaticaly add a filter on Inventory's defect_text but the table's values are based on the Quantity's defect_text, so yes the drill through works well but on the wrong table.

So I have a few question.

  1. Is it a relational problem ? 
  2. Can I say to Power BI "use Quantity's defect_text for the drill through", or change the table ?
  3. Is this problem solvable ? 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I found the solution.

The solution was to use directly the DEFECT table since it's a dimension's table.

So, in the shared's axis of my bar chart I simply deleted the old defect_code values (since it was from the wrong table) and I added the defect_code from my dimension's table. 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I found the solution.

The solution was to use directly the DEFECT table since it's a dimension's table.

So, in the shared's axis of my bar chart I simply deleted the old defect_code values (since it was from the wrong table) and I added the defect_code from my dimension's table. 

amitchandak
Super User
Super User

@Anonymous . hope code type was there in the list "add drill through parameter"?

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I didn't setup the drill through. Power BI automaticaly added me the option.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.