Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hola
He vuelto.. otra vez. ¡Lo siento, estoy tan cerca de terminar mi informe!
Quiero saber si estamos alcanzando los objetivos. Se nos han asignado objetivos porcentuales.
Me encantaría usar solo una columna para hacer esto en mi objeto visual de tabla.
Ya tengo medidas que me dan un total objetivo, p. ej.
Midlands 22 = SWITCH(SELECTEDVALUE(Data[Programme (Renamed)]),"Midlands",22
Sur 10 = SWITCH(SELECTEDVALUE(Data[Programa (Renombrado)]),"Sur",10
Este 14 = SWITCH(SELECTEDVALUE(Data[Programa (Renombrado)]),"Este",14
(Los uso para trazar una línea en mis gráficos)
Ahora estoy usando las medidas anteriores para averiguar mi porcentaje:
Gracias, he probado muchas variaciones y no estoy ganando.
Hola @FlankyPank2___ ,
Cree una sola medida con el siguiente código:
Target = SWITCH(SELECTEDVALUE(Data[Programme (Renamed)]),
"Midlands",22
"South",10,
"East",14)
A continuación, utilice el siguiente código:
Target Percentage = [Slicer Day Count]*[Target]
Muchas gracias, simple.
¡Necesito aprender Dax cuando termine este proyecto! ¡Gracias de nuevo
No olvides aceptar la respuesta correcta para ayudar a los demás.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.