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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

filter one column in one table to another column in another table

Henlo,

 

I am needing to add a measure that filters out data from my matrix. I am needing only rows returns that match this criteria (
{IM_ItemWarehouse.WarehouseCode} = {CI_Item.DefaultWarehouseCode} )

IGotTheP0werBI_0-1673383869233.png

I know how I can do this in power query but I have other visuals that do not require the same filtering. 
Can someone help me with how I would create a measure to accomplish this? 

 

Oodles of thanks in advance! 🙂

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Anonymous 

please try

FilterMeasure =
IF (
SELECTEDVALUE ( CI_Item[DefaultWarehouseCode] )
IN VALUES ( IM_ItemWarehouse[WarehouseCode] ),
1
)

place it in the filter pane of the table visual and select "is not blank" then apply the filter. 

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @Anonymous 

please try

FilterMeasure =
IF (
SELECTEDVALUE ( CI_Item[DefaultWarehouseCode] )
IN VALUES ( IM_ItemWarehouse[WarehouseCode] ),
1
)

place it in the filter pane of the table visual and select "is not blank" then apply the filter. 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.