Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hola
Tengo un gráfico de líneas y columnas apiladas que ilustra los trabajos de tiempo de espera/atraso para cada rama de trabajo
Necesito mostrar el Porcentaje del 100% para cada Sucursal.
Cuando intenté mostrar el valor como porcentaje del total general, muestra el porcentaje de rama para todas las ramas.
Esta es la Columna que he añadido para formular Ontime/Overdue
Probé algunas funciones DAX y ninguna de ellas dio los resultados correctos.
Apreciar la ayuda
HOLA @Shakeerm
Simplemente cree una medida como se muestra a continuación:
Measure =
DIVIDE (
CALCULATE ( COUNTA ( 'HR Performance Analysis Report'[Job No] ) ),
CALCULATE (
COUNTA ( 'HR Performance Analysis Report'[Job No] ),
ALLSELECTED ( 'HR Performance Analysis Report'[Overdue] )
)
)
A continuación, arrastre esta medida a los valores de columna del objeto visual.
saludos
Lin
@Shakeerm Es posible que deba crear algunas medidas para ello. Aquí hay una muestra de ejercicio - por favor cree medidas como esta:
Total Count = COUNTROWS(OnTime)
OnTime Count = CALCULATE([Total Count], OnTime[Status]="ONTIME")
Overdue Count = CALCULATE([Total Count], OnTime[Status]="OVERDUE")
% OnTime = DIVIDE(OnTime[OnTime Count], [Total Count])
% Overdue = DIVIDE([Overdue Count], [Total Count])
A continuación, configure el gráfico como se muestra en la imagen de abajo.
Pruebe esta medida:
Pencentage Values = COUNTA(Table[Overdue]) / CALCULATE(COUNTA(Table[Overdue]),ALL(Table[Overdue]))
Cambie el tipo de datos a pecentages y debería estar listo. Pero va a meterse con tu eje.
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.