cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
aivoryuk Frequent Visitor
Frequent Visitor

Timeline Slicer

Is there a limitation to how many, months and Days etc that the timeline can show? I'm connecting from a MD cube and it won't show all the years -

 

when I do narrow down the years and select a date I get this error message Error Message:

Data Shape Query translation failed with error code: 'InvalidFilterConditionIncompatibleDataType'. Check the report server logs for more information.

Stack Trace:

Invocation Stack Trace:

Activity ID
8dc58a4d-6502-4a74-a0f4-20fe7ac4a855

Time
Mon Nov 30 2015 09:38:12 GMT+0000 (GMT Standard Time)

Version
2.29.4217.221 (PBIDesktop)

7 REPLIES 7
cwayne758 Member
Member

Re: Timeline Slicer

I think you can only use date values at the Day Level for that particular visual

aivoryuk Frequent Visitor
Frequent Visitor

Re: Timeline Slicer

Right - well the timeline slicer in Excel 2013 onwards works perfectly we loads of data sources - I really want to like Power BI and want to use it within my company but its very hard to promote something when things don't seem to work right.

jondeck24 Regular Visitor
Regular Visitor

Re: Timeline Slicer

Yeah the timeline slicer isn't the best. Instead put your date field out there and instead of the timeline slicer, just use the regular slicer.  You'll need to format your date field into another column of however you want to show the date, i.e. Jun 2015, etc.  For that example you would use the Month,Year dax function.  This will show all the dates/years you have in that field.

aivoryuk Frequent Visitor
Frequent Visitor

Re: Timeline Slicer

It didn't even seem to work with a stored procedure where the date format is 'yyyy-MM-dd', even in a slicer it just gave the year which is bizarre behaviour.

It has just worked with the MD and tabular version of Adventureworks but the point is, if the excel timeslice filter works correctly how come this one doesn't - you can't expect companies to go and change things like this to fit this - they should just work as expected.

Plechazunga Frequent Visitor
Frequent Visitor

Re: Timeline Slicer

I have a similar problem. I import Project Online Data with an OData stream. I need a timeline slicer for a date field called TimeByDay. The timeline slicer raises an error message, because the field is not a date field. I tried it several ways to format a date field, but the timeline slicer doesn't work. No I have to use Excel Power Pivot because a time slicer is a core requirement. This is extremely frustrating and disappointing, to say the least. Things like that do not happen when you work with Qlik!

Highlighted
greggyb New Contributor
New Contributor

Re: Timeline Slicer

@Plechazunga, are you changing the Data Format or the Data Type? Data Format is a display option. You can use Data Format to cause a Date-Time of "2016-01-01 13:57:02" to be displayed as "2016-01-01", but the underlying data still includes the time portion.

 

You can also change the Data Type. Altering the Data Type affects the underlying data. Changing the Data Type of the Date-Time "2016-01-01 13:57:02" to Date will cause the underlying value stored in the data model to be "2016-01-01". Make sure you're changing Data Type not Data Format.

 

Capture.JPG

Plechazunga Frequent Visitor
Frequent Visitor

Re: Timeline Slicer

@greggyb Thank you now I have it there is one precondition you need to apply when using time Timeline slicer: you have to switch off the date hierarchy, and this works with this little context menu. It is not the date format, here the Timeline slicer has a broad tolerance. 

 

TPG_PowerBI_Timeline02.pngwith date hierarchy no go

TPG_PowerBI_Timeline01.pngswitch it off then it works