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
ajd33
Regular Visitor

Convert list to table for graph

Hi there,

 

I currently have a custom column that groups each associates' total revenue sorted by date. For instance, in the "Total Revenue Custom" column, this has multiple lists for each associate showing their total revenue ordered by the date in which they started. For the purpose of explanation, you can see in the screenshot Month 1 Total Revenue is 0.788; Month 2 Total Revenue is 0.714 etc for that particular associate.

 

What I wanted to do is to visualise this data. This means that I want all associates' Month 1's total revenue, all associates' Month 2's total revenue data on a line chart. As people started in different months, I felt this was the only way to standardize everyone's data to ensure it is Month 1, Month 2 (any other ways to achieve this would also help!).

 

However, as I have lists in each cell, I have no idea how I can convert this to a column that has Month 1 which then shows the first row of the list for each associate, then I can do this for Month 2 (with the second row from each associates' lists) etc. 

 

 

Any help in getting to my solution would be much appreciated 🙂 

 

capturebi.PNG

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@ajd33 ,

 

It seems that you may change type number to list in the code.

Community Support Team _ Sam Zha
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

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@ajd33 ,

 

It seems that you may change type number to list in the code.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.