Forum Discussion
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.
Hi HCBD13
Yes
you need to put a date on the X axis
numeric value on Y axisspecialty 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=Jyl4UPnuJyIIf this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
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.
3 Replies
- Ritaf1983Super User
Hi HCBD13
Yes
you need to put a date on the X axis
numeric value on Y axisspecialty 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=Jyl4UPnuJyIIf this post helps, then please consider Accepting it as the solution to help the other members find it more quickly.
- HCBD13Regular Visitor
This worked. Thank you.