Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Soy relativamente nuevo en Power BI, por lo que algunos consejos serían geniales.
Tengo una columna calculada que calcula el número de días a partir de hoy que una solicitud ha sido con mi equipo.
Lo que quiero hacer es clasificar el número de valores de días en grupos:
Verde: menos de 120 días
Amarillo 120-149 días
Naranja 150-180 días
Rojo a más de 180 días
Las agrupaciones verdes y rojas son bastante fáciles y he escrito la siguiente fórmula:
Solved! Go to Solution.
@fusion1966 , Probar como
Switch( true(),
'Instrucciones financieras recibidas'[Días en curso] < 120 , "Verde",
'Instrucciones financieras recibidas'[Días en curso] < 150 , "Amarillo",
'Instrucciones financieras recibidas'[Días en curso] < 180 , "Naranja",
"Rojo")
@fusion1966 añadir su cálculo de esta manera
SWTICH ( TRUE(),
Table[Column] > 180, "Red",
Table[Column] > 150, "Orange",
Table[Column] > 120, "Yellow",
"Green"
)
Me gustaría❤ elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
⚡Visítenos enhttps://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 @fusion1966 ,
Comprobar
Column =
IF (
'Finance Instructions Received'[Days Ongoing] < 120,
"Green",
IF (
'Finance Instructions Received'[Days Ongoing] >= 120
&& 'Finance Instructions Received'[Days Ongoing] < 150,
"Yellow",
IF (
'Finance Instructions Received'[Days Ongoing] >= 150
&& 'Finance Instructions Received'[Days Ongoing] <= 180,
"Orange",
"Red"
)
)
)
Saludos
Jay
gracias a todos, que funcionó perfectamente!
@fusion1966 añadir su cálculo de esta manera
SWTICH ( TRUE(),
Table[Column] > 180, "Red",
Table[Column] > 150, "Orange",
Table[Column] > 120, "Yellow",
"Green"
)
Me gustaría❤ elogiossi mi solución ayudara.👉Si puedes pasar tiempo publicando la pregunta, también puedes hacer esfuerzos para dar a Kudos quien haya ayudado a resolver tu problema. ¡Es una muestra de agradecimiento!
⚡Visítenos enhttps://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.
@fusion1966 , Probar como
Switch( true(),
'Instrucciones financieras recibidas'[Días en curso] < 120 , "Verde",
'Instrucciones financieras recibidas'[Días en curso] < 150 , "Amarillo",
'Instrucciones financieras recibidas'[Días en curso] < 180 , "Naranja",
"Rojo")
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.