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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
SBGoh
Helper I
Helper I

Filter rows seems not working in dropdown list

Hi, 

I have 3 Sales order tables below and they have the following relationship:

SO_HEADER.SO_NUM = SO_ITEM.SO_NUM (1 to Many)

SO_ITEM.SO_NUM = STATUS.SO_NUM and SO_ITEM.POS_NUM = STATUS.POS_NUM (1 to1)

 

SO_HEADER

SO_NUMCUSTOMERCREATED_ON
190019000025/10/2023
1901281118/05/2023
19023894501/04/2024

 

SO_ITEM

SO_NUMPOS_NUMMATERIALCS_NUM
19000011PartNum 1100001
19000022PartNum 2P20000
19010011PartNum 3P20000
19020010PartNum 410002

 

STATUS

SO_NUMPOS_NUMSTATUS
19000011Complete
19000022 
19010011Complete
19020010Active

In power query, I filter STATUS table by STATUS != 'Complete'

 

But when I dragged "SO_ITEM.MATERIAL" to a dropdown list, it display all part numbers 1,2,3,4. I only expect part number 2 and 4 is displayed. Any idea why is all part number is displayed ? What have I done wrong? Thanks in advance.

SBGoh_0-1698370755331.png

 

 

5 REPLIES 5
amitchandak
Super User
Super User

@SBGoh , Create a new concatenated column in the Item and status tables and join those

New column in DAX

Key = [SO_NUM] & "-" & [POS_NUM]

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak , yes I actually create a composite key that concatenate the 2 fields [SO_NUM] & "-" & [POS_NUM] in both tables. I create a 1:1 relationship. It is incorrect ? Table SO_ITEM has more records because only table STATUS is filtered.

@SBGoh , Change that 1- Many from Status to item, it should work

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I tried single and both direction, seems filtering is not working. ☹️

Then the direction should be single or both ?

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.