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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
MacarenaGB
Helper II
Helper II

Diferente resultado total con Averagex

¡Hola a todos!

Estoy tratando de obtener un total de una medida que debe hacer el promedio de acuerdo con la columna "Descripción".

Necesito que el resultado sume 17,27 en lugar de 5,73.

Averagex.png

¿Alguien puede ayudarme? ¡¡¡Tia!!! 🙂

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@MacarenaGB , Pruebe una medida como

Measure = Sumx(VALUES('Avg For Csv'[Descripción]), CALCULATE(AVERAGE('Avg For Csv'[Total])))
Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@MacarenaGB , Pruebe una medida como

Measure = Sumx(VALUES('Avg For Csv'[Descripción]), CALCULATE(AVERAGE('Avg For Csv'[Total])))
Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
amitchandak
Super User
Super User

@MacarenaGB, lo que es la lógica de 17.27

Puede ser Divide([Total], count(Table[Description])

O

Divide([Total], distinctcount(Table[Description]))

Por favor, comparta la lógica y ¿Puede compartir datos de ejemplo y salida de ejemplo en formato de tabla? O una muestra de pbix después de eliminar datos confidenciales.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hola

I tried it but it doesn't work:
Let me attach the table

Descripción,Total
Gasto A,10
Gasto A,12
Gasto A,12
Gasto A,14
Gasto A,10
Gasto B,3
Gasto B,3
Gasto B,3
Gasto B,3
Gasto C,2
Gasto C,3
Gasto C,2
Gasto C,3
Gasto C,3
Gasto C,3

¡Gracias!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.