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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Remove Content in Model Object Column Based on GUID Shared With Other Model Object

Hi all,

 

I am facing an issue where I need to remove rows in one model object based on a shared GUID listed in a column in another model object.

 

In this case, I have a list of successful leases that are linked to quotes for leases via this GUID. I need to remove the successful quotes from the quote model (or, at least, add a successful/unsuccessful column into that model) so that I can look at how our company is performing in certain markets. Otherwise I have a model that lumps all the successful/unsuccessful quotes together without disctinction and another model that is just the successful quotes, but no way to look at unsuccessful quotes by themselves.

 

In any advice?

1 ACCEPTED SOLUTION

Hi @Anonymous 

You may create a measure like below and use it in visual level filter.

 

Measure = IF(MAX(Quote[QuoteID]) in VALUES(Lease[QuotelD]),1,BLANK())

1.png

Regards,

 

Community Support Team _ Cherie Chen
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

3 REPLIES 3
v-cherch-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous 

It seems you may try to use LOOKUPVALUE like this post to get the successful quotes.Then if the column is blank,it is unsuccessful.If you need further help,please share a simplified data sample and expected output.

Regards,

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

That didn't work, I am getting an error message reading "a table of multiple values was supplied where a single value was expected."

 

Here's an example

 

Lease Table

 

QuoteID      

A

C

E

G

 

Quote Table

 

QuoteID

A

B

C

D

E

F

G

 

I need some way to either remove or mark ID's A, C, E, and G in the Quote Table.

Hi @Anonymous 

You may create a measure like below and use it in visual level filter.

 

Measure = IF(MAX(Quote[QuoteID]) in VALUES(Lease[QuotelD]),1,BLANK())

1.png

Regards,

 

Community Support Team _ Cherie Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.