Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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} )
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! 🙂
Solved! Go to Solution.
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.
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.
User | Count |
---|---|
25 | |
12 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
12 | |
11 | |
8 | |
7 |