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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors