Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
i nees your help. I have 2 tables,
the fist is the tableA: kardex of amount of a credit line (profiles of credit card limits):
the second its tableB: de average purschase by customer.
i need the nearest value beetween purchases cust. & profiles, in order to have a credit limit by cust (nearest up).
thank u.
Solved! Go to Solution.
You could create a column in TableB like
Credit Limit =
VAR AvgPurchase = 'TableB'[Average purchase]
VAR Result =
CALCULATE (
MIN ( 'TableA'[Credit line amount] ),
'TableA'[Credit line amount] >= AvgPurchase
)
RETURN
Result
You could create a column in TableB like
Credit Limit =
VAR AvgPurchase = 'TableB'[Average purchase]
VAR Result =
CALCULATE (
MIN ( 'TableA'[Credit line amount] ),
'TableA'[Credit line amount] >= AvgPurchase
)
RETURN
Result
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.