Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Estoy tratando de crear un objetivo para un conjunto de usuarios que se basa en la mediana de la mediana de las transacciones totales realizadas por usuario. Pude crear esto basado en la función de mediana y resumir, pero cuando lo descompongo por el usuario en una tabla me da la mediana de esa fila en lugar del mismo número para todos los usuarios. Quiero que muestre lo mismo para todos los usuarios para que pueda terminar dividiendo la transacción total por el importe del objetivo para obtener el % por usuario. Esencialmente me gustaría mostrar 14 para todas las filas de la columna Objetivo en lugar de la mediana de esa fila. ¿Alguna idea de cómo lograr esto?
¡Gracias!
Solved! Go to Solution.
@Mattyicee probar esto
Goal = MEDIANX(
SUMMARIZE(ALL('Closed Cases'),'Closed Cases'[Case Owner],
"MEdianValue",[Transactions per Rep]),
[MEdianValue])
o reemplace ALL por ALLSELECTED si desea mantener el contexto del filtro.
Consulta mi última entrada de blog Año-2020, Pandemia, Power BI y más allá para obtener un resumen de mis versiones favoritas de las características de Power BI en 2020
Me gustaría ❤ elogios si mi solución ayudara. 👉 Si puedes dedicar tiempo a publicar la pregunta, también puedes hacer esfuerzos para dar Felicitaciones a quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
⚡Visítenos en https://perytus.com, su ventanilla única para proyectos/formación/consulta relacionadas con Power BI.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@Mattyicee probar esto
Goal = MEDIANX(
SUMMARIZE(ALL('Closed Cases'),'Closed Cases'[Case Owner],
"MEdianValue",[Transactions per Rep]),
[MEdianValue])
o reemplace ALL por ALLSELECTED si desea mantener el contexto del filtro.
Consulta mi última entrada de blog Año-2020, Pandemia, Power BI y más allá para obtener un resumen de mis versiones favoritas de las características de Power BI en 2020
Me gustaría ❤ elogios si mi solución ayudara. 👉 Si puedes dedicar tiempo a publicar la pregunta, también puedes hacer esfuerzos para dar Felicitaciones a quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
⚡Visítenos en https://perytus.com, su ventanilla única para proyectos/formación/consulta relacionadas con Power BI.⚡
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Esa fue la clave - ¡Gracias!
Suena como si necesita agregar la función ALL( ) al cálculo de la medida.
Por ejemplo, la siguiente función 'airware' obtendrá la suma de la métrica, pero se segmentará por todas las dimensiones:
MySum - SUM ( [Algunas métricas] )
Pero ESTO mostrará la suma para todos los usuarios, incluso si cortamos por usuario:
Mi suma para usuarios : CALCULATE ( SUM ( [Algunas métricas] ), ALL ( 'Usuarios' ) )
Seguirá volviendo a seleccionar los sectores por fecha u otras dimensiones, pero no respetará los sectores por usuario.
¿Puede compartir su código DAX para que podamos ayudar a fuuther?
Proud to be a Super User! | |
@Mattyicee necesita dividir utilizando ALL en la función para que elimine cualquier filtro aplicado en la medida. Comparta la medida real (no use la imagen), pero pegue el código y le proporcionará la nueva medida.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@parry2k Gracias por la respuesta!
Aquí está la Fórmula para el Objetivo