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.
Tengo una tabla que contiene los siguientes datos de muestra (Tabla de sensores)
Fecha | hora | Rpm |
15/3/2020 | 1:00 PM | 1000 |
15/3/2020 | 1:02 PM | 1200 |
15/3/2020 | 2:07 PM | 1300 |
16/3/2020 | 11:40 AM | 2500 |
16/3/2020 | 12:30 PM | 680 |
y otra tabla contiene los siguientes datos de ejemplo (tabla de viaje)
Número de viaje | Fecha | De | Para |
Trip1 | 15/3/2020 | 12:00 PM | 1:30 PM |
Trip2 | 15/3/2020 | 2:00 PM | 4:00 PM |
Trip3 | 16/3/2020 | 8:00 AM | 1:00 PM |
y un parámetro de qué pasaría si (Aceleración %) para los valores de RPM
lo que necesito calcular es el recuento de veces en los que RPM supera el valor seleccionado en el parámetro what-if
siempre y cuando sea la misma fecha y durante el intervalo de viaje.
cada vez que creo una columna calculada con SELECTEDVALUE no devuelve el valor correcto.
Solved! Go to Solution.
@amaniramahi bueno, no es tan sencillo, hay muchas partes móviles, basadas en lo que publicó y lo que entendí, creé un archivo de trabajo (adjunto), eche un vistazo y ajuste de acuerdo a sus requisitos.
Me gustaría💖 Cumplidos🙂 si mi solución me ayudara.👉Si puedes dedicar tiempo a publicar la pregunta, también puedes hacer esfuerzos para darle a Kudos quién ha 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.
@amaniramahi tiene que utilizar selectedvalue en una medida, no en una columna calculada.
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 Lo sé. es por eso que estoy preguntando si hay una manera de hacer lo que quiero sin usar SELECTEDVALUE
@amaniramahi pregunta que le preguntaría ¿por qué desea crear una columna calculada no medir?
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.
Lo intenté, escribí la siguiente fórmula
Measure =
var _SelectedAcc = SELECTEDVALUE('Over Revving Parameter'[Over Revving])
var _Qty = CALCULATE(COUNT(Sensors[RPM]),FILTER(Sensors,Sensors[Date]=
entonces me detengo y no puedo seleccionar la fecha en la tabla de viajes.
y supongo que no podré añadir filtros por el tiempo.
Btw, hay una tercera tabla contiene la columna de fecha y todos están relacionados.
@amaniramahi bueno, no es tan sencillo, hay muchas partes móviles, basadas en lo que publicó y lo que entendí, creé un archivo de trabajo (adjunto), eche un vistazo y ajuste de acuerdo a sus requisitos.
Me gustaría💖 Cumplidos🙂 si mi solución me ayudara.👉Si puedes dedicar tiempo a publicar la pregunta, también puedes hacer esfuerzos para darle a Kudos quién ha 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.
Gracias, pero el problema es la fórmula sumada a las lecturas de RPM.
Tengo 5 lecturas diferentes, y necesito comprobar para cada lectura si supera el parámetro What-if o no (no para comprobar si su suma excede).
pero hizo un pequeño retoque en su formual y funcionó!
Muchas gracias
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 |