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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
RobFlanders
Frequent Visitor

Multi-Year Timeline

I am looking to present a sequence of data points each attached to a date. I am looking to group them by month and present them in date order. The dates start in May last year and end in June this year

 

Unfortunately when I try and present it using a line chart I can either view by year or by month - and when I view by month I cannot start the chart at the first month - it always starts in January. How can I filter by month and have months display consecutively, rather than merging them across years?

 

 By Year.PNGBy Month.PNG

1 ACCEPTED SOLUTION
robofski
Resolver II
Resolver II

@RobFlandersWhen you remove the year from the Date you are now asking to only see things in Month buckets so data from every Month of January will be groupd, every February etc, so in your case the values from May of 16 and May of 17 will be combined together in the 'May' data point.

If you stick with the Line chart with Year and Month levels selected and then use the Drill Down arrow you can go to the next level down.  Be sure you use the correct Drill Down option!!!

DrillDates1.JPGDrillDates2.JPG

View solution in original post

6 REPLIES 6
robofski
Resolver II
Resolver II

@RobFlandersWhen you remove the year from the Date you are now asking to only see things in Month buckets so data from every Month of January will be groupd, every February etc, so in your case the values from May of 16 and May of 17 will be combined together in the 'May' data point.

If you stick with the Line chart with Year and Month levels selected and then use the Drill Down arrow you can go to the next level down.  Be sure you use the correct Drill Down option!!!

DrillDates1.JPGDrillDates2.JPG

@robofski Thanks for the response - it appears I need to do as you say and "Expand all down one level in the Hierachy". However, I now have an image that looks like this:

 

Drill Down month.PNG

 

Something is clearly wrong with the sequencing of a number of the months - not sure why.

@RobFlanders  Any chance you can share a sample of the data, that looks strange? 

@robofski No sorry - there's a reason the pictures are heavily cropped!

 

The plot appears to assume that January 2017 is directly after January 2016, and Dec 2016 is directly after Dec 2015. I'll try some alternative plots.

 

Thanks for your help!

I received similar goofy results when drilling down the date hierarchy.

What is the best way to handle this?

image.png

image.png

Thank you

fhill
Resident Rockstar
Resident Rockstar

Try this...   We have 'Month' as it's own column in our raw data as text labeled '01-Jan', '02-Jan', etc  (you can easy get Power BI to create this with copyign and splitting your data and using mass transforms.)  We then graph our data by (text) Month and use Year from our real formatted Date column as the legend.  Values is Price (or whatever you want to graph up and down).

 

P.S.  You only have 2 years right now, so colors aren't critical, but see below where we 'fade' from old to current then go alternative colrs for future.

 

Hope this helps,

Forrest

 

 

Capture.PNG




Did I answer your question, or help you along the way?
Please give Kudos or Mark as a Solution!


https://www.linkedin.com/in/forrest-hill-04480730/

Proud to give back to the community!
Thank You!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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