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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
luizenrique
Frequent Visitor

How to do a line chart , with each line representing a year and having daily data, as in the print?

luizenrique_0-1699986770492.png

luizenrique_1-1699986862292.pngluizenrique_2-1699986871442.png

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@luizenrique , You need a column in MM DD format or dd-MOn format sorted on MMDD

 

Day Month= FORMAT([Date],"dd-mmm")
Day Month Year = FORMAT([Date],"mmdd")

 

Now use Day Month on the axis and year in Legend. In this can you can only use one measure

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

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

Hi, @amitchandak . Thank you for the answer. I got some results, but I still don't have what I need.



luizenrique_0-1700767694990.png

luizenrique_1-1700767854396.png

 

 

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.