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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
idra18
New Member

Visualize sharepoint list as a matrix

Hi,

 

I need help visualizing a List into powerbi as a Matrix.

 

Is there a way to make my Sharepoint List 

idra18_0-1696256595474.png

 To be shown in PowerBI with the following format?

idra18_1-1696256625074.png

 

 

Thank you in advance.

 

1 ACCEPTED SOLUTION
mlsx4
Memorable Member
Memorable Member

Hi @idra18 

 

You must follow these steps:

 

1) When you import your Sharepoint list, you need to unpivot DMC, VAM and MPC. In this case:

let
    Origen = Excel.Workbook(File.Contents("C:\ex.xlsx"), null, true),
    Hoja1_Sheet = Origen{[Item="Hoja1",Kind="Sheet"]}[Data],
    #"Encabezados promovidos" = Table.PromoteHeaders(Hoja1_Sheet, [PromoteAllScalars=true]),
    #"Tipo cambiado" = Table.TransformColumnTypes(#"Encabezados promovidos",{{"Date", type date}, {"Xpoint", type text}, {"Target", type text}, {"DMC", Int64.Type}, {"VAM", Int64.Type}, {"MPC", Int64.Type}}),
    #"Columna de anulación de dinamización" = Table.UnpivotOtherColumns(#"Tipo cambiado", {"Date", "Xpoint", "Target"}, "Atributo", "Valor"),
    #"Columnas con nombre cambiado" = Table.RenameColumns(#"Columna de anulación de dinamización",{{"Atributo", "Category"}, {"Valor", "Value"}})
in
    #"Columnas con nombre cambiado"

 

To do it, you select the three columns and click on Transform >Unpivot (rename Attribute as Category)

mlsx4_0-1696259569503.png

 

2) Then, you should have a calendar table with Year, Month columns

3) You relate date with Calendar date field

mlsx4_1-1696259659979.png

4) Finally, you just create the matrix like this:

mlsx4_2-1696259703273.png

 

 

 

View solution in original post

2 REPLIES 2
idra18
New Member

Thanks @mlsx4 

mlsx4
Memorable Member
Memorable Member

Hi @idra18 

 

You must follow these steps:

 

1) When you import your Sharepoint list, you need to unpivot DMC, VAM and MPC. In this case:

let
    Origen = Excel.Workbook(File.Contents("C:\ex.xlsx"), null, true),
    Hoja1_Sheet = Origen{[Item="Hoja1",Kind="Sheet"]}[Data],
    #"Encabezados promovidos" = Table.PromoteHeaders(Hoja1_Sheet, [PromoteAllScalars=true]),
    #"Tipo cambiado" = Table.TransformColumnTypes(#"Encabezados promovidos",{{"Date", type date}, {"Xpoint", type text}, {"Target", type text}, {"DMC", Int64.Type}, {"VAM", Int64.Type}, {"MPC", Int64.Type}}),
    #"Columna de anulación de dinamización" = Table.UnpivotOtherColumns(#"Tipo cambiado", {"Date", "Xpoint", "Target"}, "Atributo", "Valor"),
    #"Columnas con nombre cambiado" = Table.RenameColumns(#"Columna de anulación de dinamización",{{"Atributo", "Category"}, {"Valor", "Value"}})
in
    #"Columnas con nombre cambiado"

 

To do it, you select the three columns and click on Transform >Unpivot (rename Attribute as Category)

mlsx4_0-1696259569503.png

 

2) Then, you should have a calendar table with Year, Month columns

3) You relate date with Calendar date field

mlsx4_1-1696259659979.png

4) Finally, you just create the matrix like this:

mlsx4_2-1696259703273.png

 

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 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.