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
marcasol
New Member

Lista de campos

Pregunta de primer día de clases:

 

Tengo 152 campos o columnas de la tabla, cada uno es un conjunto de respuesta y trabajo con el % del promedio de respuestas, necesito hacer una lista, donde me salga en una columna el nombre del campo y en la siguiente el % poder luego acomodar de mayor a menor o viceversa los %s... no lo he logrado... estos campos están ligados a otros datos que se filtran entre sí.

 

Gracias!

3 REPLIES 3
v-jayw-msft
Community Support
Community Support

Hi @marcasol ,

 

Please show some sample data. We will need to know what does your original table look like (Only the main columns are required, not all 150+ columns).

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
marcasol
New Member

Thank you!

 

I think im halfway there... the unpivot worked great, but now in the visualization the information is grouped (matrix) or in columns instead of lines if chose Table.

First image is the DB previous unpivot, then the matriz and I needed ungroup, each column of the DB as a line...

DB original.PNGLista con subtotales.PNGTabla.PNG

amitchandak
Super User
Super User

@marcasol , One of the ways is to Unpivot the 152 column, then you can use % of total and % of sub total

 

https://radacad.com/pivot-and-unpivot-with-power-bi

 

Percent of SubTotal or Total: https://www.youtube.com/watch?v=6jTildcV2ho&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=37

 

 

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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.