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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
MikeModaff
New Member

Dynamically Filter Visualization Based On Look-Up Table

Hi Everyone,

This is my first post and I'm new to PowerBi so please excuse any lack of understanding on my part!

I have 2 data tables that I'm building my report off of, we'll call them:

1. Data_Dump_Table

2. Look_Up_Table

Table 1 contains metrics on many different products, and Table 2 contains the filters I would want to use for my visualizations depending on which product is selected. See example tables below.

The report itself would contain 2 visualization (line charts), 1 for each metric, and a dropdown box.

 

Table 1 Data_Dump_Table

Product NameItem NumberLevelMetric 1Metric 2
A11001050
A12001560
A21001151
A22001758
B11501253
B12251958
B2150955
B22251661

 

Table 2 Look_Up_Table

Product NameMetric 1 LevelMetric 2 Level
A100200
B150225

 

The plan is:

- I select a product in the dropdown box (Example, product "A" is selected)

   - Visualization 1: Now contains all product A Metric 1 data

   - Visualization 2: Now contains all product A Metric 2 data

- Based on Table 2, I want to further filter down my two visualizations

   - Visualization 1: Should only contain Metric 1 data at "Level" 100

   - Visualization 2: Should only contain Metric 1 data at "Level" 200
And you can see that the "Level" which needs to be filtered at changes based on which Product is chosen.

 

So, I want to dynamically filter my visualizations based on a look up table.

 

Any help would be greatly appreciated, thank you!

5 REPLIES 5
lbendlin
Super User
Super User

"

I select a product in the dropdown box (Example, product "A" is selected)

   - Visualization 1: Now contains all product A Metric 1 data

   - Visualization 2: Now contains all product B Metric 2 data "

 

Please explain the reasoning behind the last statement.

Hi, Sorry it was a typo which I've now edited!

Both visuals will show "Product A" data. 

Have you worked with SELECTEDMEASURE  yet?

I'll look into it, thanks! Could you give an example of how it could be used in my situation?

After thinking about it some more that may actually be overkill.  See attached for a column based approach.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.