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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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