Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hola, me gustaría hacer este cálculo, pero no estoy recibiendo la respuesta correcta. En mi pbix adjunto, he intentado 2 maneras, pero ambos están equivocados. Tal vez los cálculos son demasiado largos, así que estoy aflojando en cualquier lugar que no me doy cuenta.
NETT [[ [Sect_Top / (Trip In - Med Trip In)] + [Sect_Base / (Trip Out - Med Trip Out)] ] / 24 ] * (Costo * 1000)
Se supone que esta es mi salida. Gracias de antemano
No @zhrhr ,
¿Está resuelto tu problema ahora? El enlace del archivo .pbix ya no es válido.
Si es así, ¿podrías marcar la respuesta como respondida para cerrarla? De lo contrario, podría modificar el vínculo.
Saludos
Kelly
¿He respondido a tu pregunta? ¡Marca mi puesto como una solución!
@zhrhr Recomendaría poner los datos de muestra en una hoja de Excel y hacer el cálculo allí y compartir la hoja de Excel. Ayudará a resolver esto de lo contrario no está muy claro con tantos corchetes que están llevando al resultado equivocado.
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.
@zhrhr esta debe ser su medida, si no da los resultados correctos, simplemente compruebe cada bloque para ver si está obteniendo el resultado correcto. Siempre aconsejable interrumpir el cálculo en un grupo más pequeño para la depuración.
Nett =
VAR __firstBlock =
DIVIDE (
SUM ( Sheet1[Sect_Top] ),
( SUM ( Sheet1[Trip In] ) - SUM ( Sheet1[Med Trip In] ) )
)
VAR __secondBlock =
DIVIDE (
SUM ( Sheet1[Sect_Base] ),
( SUM ( Sheet1[Trip Out] ) - SUM ( Sheet1[Med Trip Out] ) )
)
VAR __multipler =
SUM ( Sheet1[Cost] ) * 1000
VAR __sumFirstAndSecondsBlock = __firstBlock + __secondBlock
VAR __finalOutput =
DIVIDE ( __sumFirstAndSecondsBlock, 24 ) * __multipler
RETURN
__finalOutput
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.
Hola, todavía no estoy obteniendo la respuesta correcta, incluso si estoy rompiendo esas fórmulas en pedazos más pequeños. Estoy recibiendo la misma respuesta que mi primer intento (como muestro en mi pbix)
No @zhrhr
La razón por la que no obtiene el resultado correcto como se esperaba porque tiene archivos vacíos en el modelo
Como le dije en mi preciosa respuesta, necesita abrir Power Query y limpiar sus columnas.
@parry2k La fórmula debería entonces funcionar
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
¿Quiere decir que necesito quitar valores nulos en Power Query?
Sí
Comience primero converr el tipo de todas las columnas en moneda, debe convertir los archivos en blanco a $0. no se olvide de convertir la columna Costo también, porque es de tipo Texto.
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
No @zhrhr
Su medida debe parecerse a esto
Regards
Amine Jerbi
If I answered your question, please mark this thread as accepted
and you can follow me on
My Website, LinkedIn and Facebook
Hola. Para mi primer try (que ya puse en la mesa) he hecho medidas separadas para ellos, pero todavía no estoy recibiendo la respuesta correcta. Y he probado su medida, todavía me da la respuesta equivocada....
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |