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

Filtering a lookup column

 

Hi Everyone, 

I need to retrieve Rate.Value only where Rate.Type = 20 and input it to column in the ServiceTicketline table. Using Serviceticketline.ServiceRateTable and Rate.ServiceRateTable as the join.



lookup.PNGLookup 2.PNG

 

 

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

The formula could be like below. Please refer to Lookupvalue.

 

lookupColumn =
LOOKUPVALUE (
    'Rate'[Value],
    'Rate'[RateType], 20,
    'Rate'[ServiceRatetable], [ServiceRateTable]
)

If this can't achieve your goal, please provide a sample.

 

Best Regards,

Dale

 

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

4 REPLIES 4
Anonymous
Not applicable

I am looking to only pull back values where rate type is "20"

Whats the best way to do this? 

My initial thought was a function like 

Lookupvalue(
     'Rate'[Value]where {ratetype}=20,
            'Rate'[ServiceRatetable],
                  'Serviceticketline'[ServiceRateTable])

this function does not work. 

Hi @Anonymous,

 

The formula could be like below. Please refer to Lookupvalue.

 

lookupColumn =
LOOKUPVALUE (
    'Rate'[Value],
    'Rate'[RateType], 20,
    'Rate'[ServiceRatetable], [ServiceRateTable]
)

If this can't achieve your goal, please provide a sample.

 

Best Regards,

Dale

 

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

Instead of mentioning values to filter, how can I write this to ignore certain values or blanks?

Anonymous
Not applicable

WOW! it worked! 

Thank you 

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.