Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
24 | |
13 | |
11 | |
10 | |
9 |
User | Count |
---|---|
18 | |
14 | |
14 | |
12 | |
11 |