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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Anonymous
Not applicable

Blank Row Filter

Hello All,

I am a new power bi user and I am having problem solving this problem. I have 2 tables both connected to each other by ID. Now I have used a report level filter on Client name column( of table 1 ) to filter american bank (see the image below) and so my table 2 filters all banks that have same ID as that of American bank but  in case of blank ID i want only selected bank (American Bank not Wells fargo) along with the other banks that have matched NOTBLANK ID.

How can I achieve this?

Thanks in advance

Regards

ChahaUntitled.png

1 ACCEPTED SOLUTION
v-xicai
Community Support
Community Support

Hi @Anonymous 

 

Based on my test ,the result is only two rows when select "AMERICAN BANK" in report level filter having relationship between two tables on original [Id].

 

6.png

 

 

 

 

 

 

 

 

 

So ,recommend you create new Id columns in two table to filter the required value, and then create relationship between the two tables on Table1[Id_new1]=Table2[Id_new2].

 

Table1: Id_new1 = IF(Table1[Id]=BLANK(),0,Table1[Id])

              

Table2: Id_new2 = IF(Table2[Id]<>BLANK(),Table2[Id],IF(Table2[Client name]=MAX(Table1[Client name]),0,BLANK()))

 

7.png

 

 

 

 

 

 

Here is my test pbix: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EZac5lryuChEmcn82c...

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xicai
Community Support
Community Support

Hi @Anonymous 

 

Based on my test ,the result is only two rows when select "AMERICAN BANK" in report level filter having relationship between two tables on original [Id].

 

6.png

 

 

 

 

 

 

 

 

 

So ,recommend you create new Id columns in two table to filter the required value, and then create relationship between the two tables on Table1[Id_new1]=Table2[Id_new2].

 

Table1: Id_new1 = IF(Table1[Id]=BLANK(),0,Table1[Id])

              

Table2: Id_new2 = IF(Table2[Id]<>BLANK(),Table2[Id],IF(Table2[Client name]=MAX(Table1[Client name]),0,BLANK()))

 

7.png

 

 

 

 

 

 

Here is my test pbix: https://qiuyunus-my.sharepoint.com/:u:/g/personal/pbipro_qiuyunus_onmicrosoft_com/EZac5lryuChEmcn82c...

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.