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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Sean-OReilly
Helper IV
Helper IV

Need Help re Filter vs Lookup Value

Hi

I have two Tables Links and the Common Key = ID and Parent ID.

One of the tables = Vendors and the Other Table = Dimensions. The dimensions tables holds various dimensions values for Vendors, Customers, Resources, Employees etc.

 

When i pull in a Table Visual against my Vendors i get the below. 

You will note that it shows blank lines for all of the Dimension Values that are not contained in the Vendor Table. 

I thought that the table visual would only show entries that are contained in the Vendor Table.

I want to remove these Blanks. What is the best way of doing this ?

 

SeanOReilly_0-1658131312849.png

 

1 ACCEPTED SOLUTION
v-zhangti
Community Support
Community Support

Hi, @Sean-OReilly 

 

I briefly simulated some data that I hope fits your situation.

vzhangti_1-1658394213863.png    vzhangti_0-1658394189759.png

Measure:

Measure = IF(SELECTEDVALUE(Table1[ID])<>BLANK(),1,0)

Put Measure in the filter and set it to equal 1.

vzhangti_2-1658394295500.png

Does this match the output you expect?

 

Best Regards,

Community Support Team _Charlotte

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

2 REPLIES 2
v-zhangti
Community Support
Community Support

Hi, @Sean-OReilly 

 

I briefly simulated some data that I hope fits your situation.

vzhangti_1-1658394213863.png    vzhangti_0-1658394189759.png

Measure:

Measure = IF(SELECTEDVALUE(Table1[ID])<>BLANK(),1,0)

Put Measure in the filter and set it to equal 1.

vzhangti_2-1658394295500.png

Does this match the output you expect?

 

Best Regards,

Community Support Team _Charlotte

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

technolog
Super User
Super User

You could create calculation table with column from both tables and then add calculation column 

IF ( ISBLANK([id]), "BLANK ID NAME", [id])

and after that visualize this table

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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