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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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

Share with Power BI Enthusiasts: 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

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.