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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
FredrikOlsen
New Member

Filter whole tables based on list element choice.

Hi,

I am trying to make a one-slider report in Power BI with a dropdown filter for choosing between showing data from different tables. It would be very simple and elegant to have data from all tables go into the same visuals, and then let a dropdown filter let you choose what table you want to show data from.

Lets say I have 10 factories that produce bottles, and I have imported data from each factory into separate tables, so 10 tables.
Each table has similar data fields, for instance one column of data is "bottles produced".

In one visual I put "bottles produced" field inserted from all 10 tables, so all are shown.
However I want to only show one at a time, and which one depends on a dropdown filter list which lets me choose "Factory 1", "Factory 2"... etc.

I am fairly new to Power BI, so I was thinking of making a separate list of factory names and connect each element in that list to its own factory's data table. So one list item connection to one table. I don't even know if that is possible. Then by putting that list of factories neames into a slicer I would hopefully be able to only see data from the table which that list element is connected to.

Hope this makes sense.
I figured I'd ask here because I cannot seem to find a condensed way to explain the problem for a web search.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi,

 

You have to append your 10 tables into one in power query. Keep in mind that one column must contain a factory name. And after your work from that table and it will be easy to make your final report

View solution in original post

2 REPLIES 2
FredrikOlsen
New Member

Thank you James!

This did the trick.

Anonymous
Not applicable

Hi,

 

You have to append your 10 tables into one in power query. Keep in mind that one column must contain a factory name. And after your work from that table and it will be easy to make your final report

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors