Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.