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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
farhandsome
Helper I
Helper I

PBI Query Parameters

Hi all,

 

I am a newbie to Query Parameters and wanted to know if this was possible and the simplest way to do this. 

 

I have a data source from Excel in my PBI Desktop. Let's say, for example, there is a column denoted "Column A" in this dataset. 

 

I have another data source extracted from the latest .xlsx file in a folder (I've already established the code for this), but I'd like to filter the data pulled based on Column A in the other table. 

 

I would like to set up a parameter to only pull in a row from this data source if that row has a value in a specific column that matches one of the values in Column A.

 

Here's a visual of what I mean:

 

Data Source #1:

IDMaterialQty
12345AAA5
67891ABC10
13579BBB1
24680CDE3
00000CCC5

All of this data will be loaded in the PBI Desktop.

 

Data Source #2

Routing TimeMaterial
50AAA
60XYZ
40BBB
10SUV
20LMN

 

The strikethrough values are NOT loaded into the table becauses the "Material" column does not match any value that is in the "Material" column of Data Source #1. How do I go about setting up this parameter?

 

Thanks,

Farhan

1 ACCEPTED SOLUTION
artemus
Microsoft Employee
Microsoft Employee

You can do this using Merge queries. Choose the two tables, along with their matching queries. Then choose the join type as Semi, which will only keep rows from the first that match the second.

View solution in original post

1 REPLY 1
artemus
Microsoft Employee
Microsoft Employee

You can do this using Merge queries. Choose the two tables, along with their matching queries. Then choose the join type as Semi, which will only keep rows from the first that match the second.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Kudoed Authors