cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
cmplieger
Frequent Visitor

Combine multiple collums into timeline / Play Axis

Hello,

 

I have a table organised like this:

ServicesJanuary 2016February 2016March 2016
Service 1300400450
Service 2350600500

 

How can I get a timeline of the rows that automatically goes through the value of each collumn using the play axis or timeline slicer?

I see no way to do this without reorganizing my data to have a date collumn specifically.

 

Thank you for your help.

1 ACCEPTED SOLUTION
LaurentCouartou
Solution Supplier
Solution Supplier

In this case, reorganizing your data to have a date column specifically is strongly recommended.

 

You can do this pretty easily with the Unpivot operation in the query editor, and it will really make your life easier.

 

 

 

 

View solution in original post

3 REPLIES 3
v-yuezhe-msft
Microsoft
Microsoft

Hi @cmplieger,

Agree with LaurentCouartou . Timeline slicer requires Date type field.

In your scenario, you can select the three columns (January 2016, February 2016 and March 2016), select Unpivot columns in Query Editor, then replace these values(January 2016, February 2016, March 2016) with appropriate Date type values as shown in the second screenshot.  This way,  you are able to drag the Date field(Attribute column in my example) into Timeline slicer.
1.PNG2.PNG3.PNG


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
LaurentCouartou
Solution Supplier
Solution Supplier

In this case, reorganizing your data to have a date column specifically is strongly recommended.

 

You can do this pretty easily with the Unpivot operation in the query editor, and it will really make your life easier.

 

 

 

 

Thanks to you both. I have changed my data structure and things are much easier now!

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors