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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
HCBD13
New Member

Excel Line graph possible to PBI?

Anyone knows how to make this excel graph to PBI? Everytime I place specialty on Y axis, it turns to count.

HCBD13_0-1695841934337.png

 

1 ACCEPTED SOLUTION
gmsamborn
Super User
Super User

Hi @HCBD13 

If I understand correctly, you need to unpivot your table in Power Query.

 

In PQ:

- select the [Specialty] column

- right-click and select "Unpivot other columns"

 

In my example, I also had to convert the date.

Unpivot.pbix

 

View solution in original post

3 REPLIES 3
gmsamborn
Super User
Super User

Hi @HCBD13 

If I understand correctly, you need to unpivot your table in Power Query.

 

In PQ:

- select the [Specialty] column

- right-click and select "Unpivot other columns"

 

In my example, I also had to convert the date.

Unpivot.pbix

 

This worked. Thank you.

Ritaf1983
Super User
Super User

Hi @HCBD13 
Yes
you need to put a date on the X axis
numeric value on Y axis

specialty on the legend

if your table looks like on the picture (horizontal )
You need to transpose it with pq , please refer to the linked tutorial:
https://www.youtube.com/watch?v=Jyl4UPnuJyI

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

 
Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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