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.
Queridos todos,
En primer lugar, me gustaría agradecer a este increíble complejo de apartamentos por toda la ayuda que me han proporcionado tan lejos! ¡Sólo recientemente he empezado a usar DAX para el análisis en profundidad y he aprendido muchas cosas desde aquí!
En segundo lugar, he encontrado un problema con el gran total de una medida que no se está reflejando correctamente. Le proporcionaré más detalles:
Tabla de hechos. ID del empleado | Mesa de hechos. WORKING_HOURS | Tabla Dim. HOURS_PER_DAY | Medida: WORKING_DAYS |
1 | 168 | 8 | 168/8 a 21 |
2 | 150 | 8 | 18.75 |
3 | 140 | 7.5 | 18.66 |
4 | 130 | 9 | 14.44 |
5 | 120 | 8 | 15 |
6 | 110 | 7.5 | 14.66 |
GRAN TOTAL | 818 | 48 - total irrelevante | El total general aquí es: 818/48 a 17.04, pero esto no es correcto. Debe ser el total de los valores anteriores: 21 + 18,75 + ... + 14,66 a 102,51 |
Lo que quiero lograr: Quiero que el Total General calcule la suma de la columna. Ahora, ha pasado casi una semana desde que intenté resolver esto y he leído un montón de soluciones en línea, que no funcionó, estoy definitivamente haciendo algo mal 😢 La última versión de mi medida es la siguiente:
Creo que lo que está estropeando, es las tablas FACT & DIM, tal vez no los estoy especificando correctamente en la fórmula? No estoy seguro realmente, pero tengo la sensación de que confundí DAX con las tablas, de ahí a por qué las he presentado al principio.
P.D. Lo que estoy tratando de lograr se hizo en Power Query, pero quiero hacer esto en DAX, ya que quiero ampliar el conocimiento 😥
Solved! Go to Solution.
@DianaF probar esta medida
Measure 2 =
SUMX ( VALUES ( Table[Employee Id] ), [Measure 1] )
Me gustaría❤ elogiossi mi solución me ayudó.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para darle a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
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.
@DianaF , Usted puede tratar como
sumx(summarize(Table, Table[Employee ID],"_1",[Measure 1 ]),[_1])
@DianaF probar esta medida
Measure 2 =
SUMX ( VALUES ( Table[Employee Id] ), [Measure 1] )
Me gustaría❤ elogiossi mi solución me ayudó.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para darle a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
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.
Hello sir, thank you for this. It worked. Have a lovely day!
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 |