Forum Discussion

dustdaniel's avatar
dustdaniel
Helper II
1 year ago
Solved

Multiple line chart with continuous x axis date

Hi Everyone,

 

I have a line chart visual to compare perfomances year over year and the measure that I have is calculated per day. I need to show the entire year per day into de visual but I can't make it work (X-axis continuously).

 

If I add my Date from my DatesTable, I'm able to set x-axis type to continuous but it gets one year next to the other

In another post, I got the idea of formating the dates table diffrently:

 

Calendar date dd-MMM = FORMAT(DateTable[Date], "dd-MMM")

 

The result is ok but I need to fit the entire year in the visual and I can't.

 

I can make it countiniously with hierarchy - Month but as I mentioned before the measure is calculated per day.

As soon as I move my hierarchy level down to Date, the visual gets year by year next to each other.

Please find in this link the sample file.

Sample file - Continuous line chart YOY 

4 Replies