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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
EdwinPolo
New Member

Creating a Bar Chart in Power BI from sharepoint list

Hi I am trying to create a bar chart in Power Bi, using a Sharepoint List. I have create the next table from sharepoint list columns.

 

EdwinPolo_0-1675282792179.png

My question is, how can i create a Bar Chart in power bi according to this table. Thank you for your help.

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@EdwinPolo , Unpivot the month columns, Then you should be able to easily create a visual

 

https://radacad.com/pivot-and-unpivot-with-power-bi
Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g

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

Anonymous
Not applicable

Hi @EdwinPolo ,

 

As  amitchandak  mentioned as above, Unpivot your month columns should be a good idea to help you achieve your goal. I think you need to do some other transformation for your table.

1. Select [Contrato] column and Unpivot other columns (Month columns) 

2. Group By your table by [Contrato] column and add a number type [Index] column

For reference: Create Row Number for Each Group in Power BI using Power Query

RicoZhou_0-1675325618565.png

3. Sort your text type [Month] column by [Index] column.

For reference: Sort one column by another column in Power BI - Power BI | Microsoft Learn

 

Best Regards,
Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
EdwinPolo
New Member

Thank to all of you for your support and help.

Anonymous
Not applicable

Hi @EdwinPolo ,

 

As  amitchandak  mentioned as above, Unpivot your month columns should be a good idea to help you achieve your goal. I think you need to do some other transformation for your table.

1. Select [Contrato] column and Unpivot other columns (Month columns) 

2. Group By your table by [Contrato] column and add a number type [Index] column

For reference: Create Row Number for Each Group in Power BI using Power Query

RicoZhou_0-1675325618565.png

3. Sort your text type [Month] column by [Index] column.

For reference: Sort one column by another column in Power BI - Power BI | Microsoft Learn

 

Best Regards,
Rico Zhou

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@EdwinPolo , Unpivot the month columns, Then you should be able to easily create a visual

 

https://radacad.com/pivot-and-unpivot-with-power-bi
Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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