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
Anonymous
Not applicable

Mostrar el porcentaje del valor total de la columna en el gráfico de barras de pila

Hola a todos

A continuación se muestra la medida que estoy usando en el gráfico de columnas Stack.

Orden de los últimos 6 meses: CALCULATE ( COUNT( Fact_Table[Order_Id] ), DATESINPERIOD ( 'Date Dimension'[Date], ENDOFMONTH( 'Date Dimension'[Date] ), -6, MONTH)).

Año del mes - CONCATENAR((Fact_Table[Mes relacionado]),CONCATENAR(" ",right(Fact_Table[Año],2)))

Que están funcionando bien.

Además de eso, necesito mostrar % del orden total para cada sección en una barra en la descripción emergente.

Estoy luchando con el cálculo DAX para Porcentaje.

¿Es posible mostrar el valor Porcentaje en la información sobre herramientas?

No puedo agregar el filtro en mi DAX correctamente para el "Nivel" para obtener el porcentaje del valor total de la columna.

Gracias por adelantado

  • Percentage in Stack Bar chart.png
1 ACCEPTED SOLUTION

@tanisha10

Puede consultar el siguiente mensaje.

https://community.powerbi.com/t5/Desktop/Percentages-to-multi-line-report/m-p/378504#M172040

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

¿Ha intentado poner su medida % en la descripción emergente. Del porcentaje de cálculo de la medida tiene problema

Anonymous
Not applicable

Hola @amitchandak

No, estoy luchando con el DAX. No obtener el filtro correcto () con ALL/ALLEXCEPT/ALLSELECTED.

Anonymous
Not applicable

Pedido PCT% ?
CALCULATE(DIVIDE ( [ID total de pedido],
CALCULATE ( [ID total de pedido],
ALLEXCEPT(Fact_Table,Fact_Table[Level] ),
ALLSELECTED(Fact_Table[Año mes])),
0 ),
DATESINPERIOD('Dimensión de fecha'[Fecha],ENDOFMONTH('Dimensión de fecha'[Fecha]),-6,MES))
Me está dando Porcentaje de Gran Total, que no quiero.Percentage Stack Bar chart.png

@tanisha10

Puede consultar el siguiente mensaje.

https://community.powerbi.com/t5/Desktop/Percentages-to-multi-line-report/m-p/378504#M172040

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.