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.
¡Hola a todos!
Estoy tratando de calcular el valor de las garantías. Tengo esta situación: Un cliente sólo puede tener una garantía, independientemente del número de préstamos. ¿Cómo puedo calcular el valor total de las garantías sin multiplicar su valor?
Ejemplo:
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 |
¡Gracias por ayudarte!
Solved! Go to Solution.
@ANM_97 Si entiendo bien, creo que quieres:
Measure =
SUMX(
SUMMARIZE('Table',[Customer_ID],"__Average",AVERAGE([Collateral_Value])),
[__Average]
)
@ANM_97 , Pruebe una medida como
sumx(Values(Table[CUSTOMER_ID]), max(Table[COLLATERAL_VALUE]))
O
sumx(Summarize(Table[CUSTOMER_ID],"_1", max(Table[COLLATERAL_VALUE])),[_1])
@ANM_97 Si entiendo bien, creo que quieres:
Measure =
SUMX(
SUMMARIZE('Table',[Customer_ID],"__Average",AVERAGE([Collateral_Value])),
[__Average]
)
Hola @ANM_97 ,
Simplemente puede crear una medida:
totalCollateralValue á SUM(tablename[COLLATERAL_VALUE])
Gracias
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 |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |