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.
Hello everyone!
I'm trying to calculate the value of the guarantees. I have this situation: A client can have only one guarantee, regardless of the number of loans. How can I calculate the total value of guarantees without multiplying their value?
Example:
CUSTOMER_ID | LOAN_ID | COLLATERAL_VALUE |
100 | A | 1000 |
101 | B | 1200 |
102 | C | 1500 |
103 | D | 200 |
103 | E | 200 |
104 | F | 1500 |
105 | G | 500 |
105 | H | 500 |
TOTAL: | =1000 + 1200 + 1500+ 200 + 1500 +500 =5900 |
Thank you for help!
Solved! Go to Solution.
@ANM_97 If I understand correctly, I believe you want:
Measure =
SUMX(
SUMMARIZE('Table',[Customer_ID],"__Average",AVERAGE([Collateral_Value])),
[__Average]
)
@ANM_97 , Try a measure like
sumx(Values(Table[CUSTOMER_ID]), max(Table[COLLATERAL_VALUE]))
or
sumx(Summarize(Table[CUSTOMER_ID],"_1", max(Table[COLLATERAL_VALUE])),[_1])
@ANM_97 If I understand correctly, I believe you want:
Measure =
SUMX(
SUMMARIZE('Table',[Customer_ID],"__Average",AVERAGE([Collateral_Value])),
[__Average]
)
Hi @ANM_97 ,
You can simply create a measure:
totalCollateralValue = SUM(tablename[COLLATERAL_VALUE])
thanks,
Pragati
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
95 | |
80 | |
68 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |