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 buena gente,
Necesito tu ayuda.
Tengo la siguiente tabla.
Todas las columnas son columnas calculadas. Quiero tener un "Total" que excluya el "Beneficio Bruto". Actualmente está contando el "Beneficio Bruto" dentro del "Total". Quiero mantenerlo excluido. Por favor, ayúdeme.
Solved! Go to Solution.
Hola @u986483
Puede ajustar la siguiente medida para obtener el resultado requerido.
Sales Total without Contoso =
VAR __totalWithoutContoso =
CALCULATE(
[Sales],
KEEPFILTERS(
NOT 'Product'[Brand] = "Contoso"
)
)
RETURN
IF(
HASONEVALUE( 'Product'[Brand] ),
[Sales],
__totalWithoutContoso
)
@u986483 , Trate como
Total Nuevo ([Total],Tabla[MOH COA Level 6]!-"Gross Profit")
O
Total Nuevo: if(isfiltered(Table[MOH COA Level 6]),[Total],calculate([Total],Table[MOH COA Level 6]!-"Gross Profit"))
recomienda
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
Hola @u986483
Puede ajustar la siguiente medida para obtener el resultado requerido.
Sales Total without Contoso =
VAR __totalWithoutContoso =
CALCULATE(
[Sales],
KEEPFILTERS(
NOT 'Product'[Brand] = "Contoso"
)
)
RETURN
IF(
HASONEVALUE( 'Product'[Brand] ),
[Sales],
__totalWithoutContoso
)
Muchas gracias, hombre. Su solución es precisa y hasta el punto 😀
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 |