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
jcastr02
Post Prodigy
Post Prodigy

Filtering out rule

I have two queries    Query A - Contains Employee ID, and Employee Title     Query B - Contains B contains the Employee ID, but as one of the final applied steps, I use grouping and Employee ID is not one of the items grouped by.  I'd like to filter out any records where the employee Title is function lead.  Is there a way to insert a step to filter this out?   Ex below + picQueryB.png

 

Employee IDEmployee Title
123456Technician
765432function lead
123344Technician
222222function lead
999999Technician
  
Query A 
1 ACCEPTED SOLUTION
ryan_mayu
Super User
Super User

@jcastr02 

maybe you can try merge tables before the group step and filter out the values you don't want.

1.PNG2.png3.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

4 REPLIES 4
ryan_mayu
Super User
Super User

@jcastr02 

maybe you can try merge tables before the group step and filter out the values you don't want.

1.PNG2.png3.png





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




amitchandak
Super User
Super User

@ryan_mayu @amitchandak Is there a way to add a employee Title column in Query B based off of data that is column A, sort of like a vlook in Excel so that I can populate the employee title in Column B using M?

@jcastr02 , you can use merge in Power Query/M

https://radacad.com/append-vs-merge-in-power-bi-and-power-query

 

In Dax you  have the following way - check my video https://www.youtube.com/watch?v=czNHt7UXIe8

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.