Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Paulyeo11
Impactful Individual
Impactful Individual

Gráfico de barras mensual cómo establecer el color de la barra del eje X antes del color amarillo COVID ?

Hola a todos

Paulyeo11_0-1602924138717.png

1 ACCEPTED SOLUTION

@Paulyeo11

Puede utilizar el mismo DAX y en colores de datos utilizar el valor de campo para cambiar el color.

manikumar34_0-1603120563515.png

https://www.dropbox.com/s/3paix06o82v3fob/preWebinarPostCal_PY_DATA%20V008%20Working.pbix?dl=0

Subido aquí.

saludos

Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




View solution in original post

5 REPLIES 5
mahoneypat
Employee
Employee

Para ello, haga una medida como esta

Color de la barra: IF(MAX('Date'[Date])>-DATE(2019,1,1), "Green", "Yellow")
A continuación, en las opciones de formato para su gráfico en Colores de datos, pulse el botón "fx", seleccione Valor de campo y la medida anterior (modificado con la fecha y los colores del umbral). Así es como se ve lo anterior en un gráfico.
saludos
palmadita




Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Hola Señor

Muchas gracias por compartir, amablemente ayúdame a configurar por hacer esos 4 bar que sólo después de febrero 2020 es de color azul el color amarillo resto. ( He hecho que yo mismo , no puedo averiguar dónde pegar su expresión )

https://www.dropbox.com/s/8sdwhpjxced7wqn/preWebinarPostCal_PY_DATA%20V008%20Working.pbix?dl=0

@Paulyeo11

Puede utilizar el mismo DAX y en colores de datos utilizar el valor de campo para cambiar el color.

manikumar34_0-1603120563515.png

https://www.dropbox.com/s/3paix06o82v3fob/preWebinarPostCal_PY_DATA%20V008%20Working.pbix?dl=0

Subido aquí.

saludos

Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




Hi Hands

Muchas gracias vry , finalmente sé dónde vincular el campo de color de la barra. ahora funciona bien.

Paulyeo11_0-1603189644907.png

@Paulyeo11 ,

Awesoem, me alegro por ti. Tienes la respuesta. Estamos en contacto.

Sígueme en LinkedIn

saludos
Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.