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
Estoy trabajando con datos resumidos e im tirando para calcular el margen de beneficio que se llama "EM" en mi modelo de datos. El cálculo en sí es correcto, pero el total no. Me gustaría que redondee al 100%
No tengo ningún dato de costos, así que simplemente estoy haciendo Ganancias / ingresos
Aquí hay una captura de pantalla:
Saludos
Tomás
Solved! Go to Solution.
@Tmatti92 Probar:
m_Total 3
VAR __table = SUMMARIZE(Sales,[Grade],[Service],[Region],"__Value",[m_Single])
RETURN
IF(HASONEVALUE(sales[Region]),[m_Single],SUMX(__table,[__Value]))
@Tmatti92 Esto parece un problema de medida total. Muy común. Vea mi publicación al respecto aquí: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376
Además, esta Medida Rápida, Medir Totales, La Palabra Final debería darle lo que necesita:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907
@Greg_Deckler Hola Greg gracias por tu respuesta. Todavía parece tener dificultades para calcular el % que he intentado usar su hilo, pero todavía tengo algunos errores.
En primer lugar probé esto:
Luego, en segundo lugar, esto
m_Total 3
@Tmatti92 Probar:
m_Total 3
VAR __table = SUMMARIZE(Sales,[Grade],[Service],[Region],"__Value",[m_Single])
RETURN
IF(HASONEVALUE(sales[Region]),[m_Single],SUMX(__table,[__Value]))
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 |