cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
carlosayala_9
Frequent Visitor

Maximos

Buenas tardes!

Necesito hacer una medida que me acomode en una tabla donde tenga los meses en fila (lo tengo en filtros)  y que me acomode al lado el colaborador que mas vendio y la cantidad.

Se agradece la ayuda!

carlosayala_9_0-1668786568874.png

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@carlosayala_9 , You need a measure like

 

maxx(TOPN(2, allselected('Table'[collaborator]), [Net Sales],desc), [collaborator])

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

View solution in original post

2 REPLIES 2
carlosayala_9
Frequent Visitor

gracias! funciono

 

amitchandak
Super User
Super User

@carlosayala_9 , You need a measure like

 

maxx(TOPN(2, allselected('Table'[collaborator]), [Net Sales],desc), [collaborator])

 

If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.



!! Microsoft Fabric !!
Microsoft Power BI Learning Resources, 2023 !!
Learn Power BI - Full Course with Dec-2022, with Window, Index, Offset, 100+ Topics !!
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.

Top Solution Authors