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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
GalanteJM
Regular Visitor

Promedio de un recuento

Hola tengo una tabla CONSUMO de la cual quiero saber cuantos Registros promedios entre fechas cargo cada Usuario.

Tengo un campo Usuario, F_REGISTRO.

F_registro esta como segmentador de datos del informe.

 

Esto es o que quiero que se muestre:

GalanteJM_0-1710369227863.png

Por favor si me pueden ayudar.

Si necesitan algun otro dato me avisan

1 ACCEPTED SOLUTION

Hi @GalanteJM 

Please try create these measures:

Avg = CALCULATE(AVERAGE('Table'[Value]),ALLEXCEPT('Table','Table'[USUARIOS]))
Total = SUMX(ALLSELECTED('Table'[USUARIOS]),[Avg])
Measure = IF(ISINSCOPE('Table'[USUARIOS]),[Avg],[Total])

Output:

vcgaomsft_0-1712300208436.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

View solution in original post

4 REPLIES 4
v-cgao-msft
Community Support
Community Support

Hi @GalanteJM ,

Please try these measures:

Measure 1 = AVERAGEX(SUMMARIZE('CONSUMO','CONSUMO'[F_REGISTRO],'CONSUMO'[Etiquetas de fila],"@MLCAMISA",[MLCAMISA]),[@MLCAMISA])
Measure 2 = AVERAGEX(SUMMARIZE('CONSUMO','CONSUMO'[F_REGISTRO],'CONSUMO'[Etiquetas de fila],"@nbanchero",[nbanchero]),[@nbanchero])
Total general = [Measure 1] + [Measure 2]

vcgaomsft_0-1710468315392.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Las columnas MCAMISA y nbanchero es un campo en una tabla combinada que se llama:

Nombre del campo: "USUARIOS", 

 

Se podra reformalar?

Hi @GalanteJM 

Please try create these measures:

Avg = CALCULATE(AVERAGE('Table'[Value]),ALLEXCEPT('Table','Table'[USUARIOS]))
Total = SUMX(ALLSELECTED('Table'[USUARIOS]),[Avg])
Measure = IF(ISINSCOPE('Table'[USUARIOS]),[Avg],[Total])

Output:

vcgaomsft_0-1712300208436.png

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution  to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum -- China Power BI User Group

Muchas gracias

 

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors