Forum Discussion

aivoryuk's avatar
aivoryuk
New Member
10 years ago

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

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

    • aivoryuk's avatar
      aivoryuk
      New Member

      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's avatar
        jondeck24
        Advocate II

        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.

  • 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!

    • greggyb's avatar
      greggyb
      Resident Rockstar

      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.

       

      • Plechazunga's avatar
        Plechazunga
        Regular Visitor

        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. 

         

        with date hierarchy no go

        switch it off then it works