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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
mish2212
New Member

Pull in value based on multiple criteria from one table to another

Hello! I have two tables as following:
Payments

Refer_noCPT CodePayment
230192U0021.00
23019289X2.00
22018350C2.50


Charges

Refer_noCPT Code
230192U002
23019289X
22018350C
2201839Z1
2405229Z1


I want to create a calculated column on the charges table which pulls in the "payment" column from the Payments table FOR the matching Refer_no and CPT Code. There is a blank if there is no existing value in the payments table. So result would look as follows:

Charges

Refer_noCPT CodePayment
230192U0021.00
23019289X2.00
22018350C2.50
2201839Z1BLANK
2405229Z1BLANK


I've tried FILTER and Lookupvalue, but it ends up filtering the resulting visual so that only the matches show and the blanks are removed. Please help! Thank you 🙂 

0 REPLIES 0

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

Top Solution Authors