cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors