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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.