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

Power BI Line Chart

Hi, 

 

I am trying to create a line chart on Power PI using historical figures.  Due to how the information is used, for this historical aspect I am working with as follows: 

 

Month            Figures 1              Figures 2               Figures 3              Figures 4             

Jan                   x                           x                             x                            x 

Feb                   x                           x                            x                             x 

Mar                  x                            x                           x                              x

And so on... 

 

So I am looking for a line chart that plots each figures across the months.  Is there a way to make this possible?

 

Thanks for any help.

1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @Kbutcher,

 

Please first unpivot table structure in Query Edit mode.

1.PNG2.PNG

 

Then, add 'Month' field into X-axis of line chart, add 'Figures' into legend.

3.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
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-yulgu-msft
Employee
Employee

Hi @Kbutcher,

 

Please first unpivot table structure in Query Edit mode.

1.PNG2.PNG

 

Then, add 'Month' field into X-axis of line chart, add 'Figures' into legend.

3.PNG

 

Best regards,

Yuliana Gu

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

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.