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
Tengo 3 columnas "Precio actual", "Precio anterior" y "Ahorro". Las fórmulas son las siguientes.
Current Price =
CALCULATE(PurchaseReceipts[Total Invoice wo Tax]/Sum(PurchaseReceipts[qty]))
Previous Price =
CALCULATE(PurchaseReceipts[Current Price], PREVIOUSMONTH(DateTable[Date]))
Savings =
If(HASONEFILTER(Products[Product Name]),
If(
OR(isblank(PurchaseReceipts[Current Price]),
isblank(PurchaseReceipts[Previous Price])),
blank(),
PurchaseReceipts[Previous Price] - PurchaseReceipts[Current Price]
),
CALCULATE(
PurchaseReceipts[Previous Price] - PurchaseReceipts[Current Price],
ALLSELECTED(PurchaseReceipts) ,VALUES(Products)
)
)
El problema es evidente, necesito totales de la columna "Ahorros" y BLANKS en "precio actual" y "precio anterior" como se muestra a continuación
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 | |
1 | |
1 |