cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
iDataDrew Member
Member

How to create a line chart with months on x axis and dates on y axis

Hi,

 

I'm trying to create a line chart in Power BI that shows the trend impact of multiple milestones.  The x axis consists of months and the y axis consists of dates.  The idea is, as you progress throughout the year the anticipated completion of a project, or its individual milestones, will change.  I've been able to easily create this chart in Excel, as you can tell from the attached image, but I'm having difficulty replicating this in Power BI.

 

Any idea of how this is possible?

 

MilestoneImpactTrend.PNG

2 REPLIES 2
HarrisMalik Established Member
Established Member

Re: How to create a line chart with months on x axis and dates on y axis

@iDataDrew Currently Power BI does not give an automatic way to use dates or time on Y-axis. Power BI expect a measurement on y-axis. The best bet for you would be to convert your dates into numerical values e.g. 2014-01-14 becomes 20140114 for all three of your measures i.e. Scope, Analysis and Validation. When you will plot it on line axis it will show you the trend you are looking for.

 

Regards

Harris

iDataDrew Member
Member

Re: How to create a line chart with months on x axis and dates on y axis

Thanks @HarrisMalik.  I actually thought about doing that, but didn't think it would look as clean or understandable to people.  But if that's what I have to do for now, I guess that's what I have to do.  Thanks for the insight!

Helpful resources

Announcements
New Topics Started Badges Coming

New Topics Started Badges Coming

We're releasing new versions of the badge that everyone's talking about. ;) Check your inbox for notifications.

MBAS 2020

Save the new date (and location)!

Our business applications community is growing—so we needed a different venue, resulting in a new date and location. See you there!

Difinity Conference

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)