Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Automatic Update of Date Filter

Hi,   I was wondering if there was any way to automatically update date filters when refreshing your data source.   As of right now, I have a filter for year, month, and day, but when refreshing ...
  • VasTg's avatar
    6 years ago

    Anonymous 

     

    I had a similar situation to show the latest month in the month slicer.

     

    I ended up creating a new column as  if last business day =1, then "current" else month_name. Then i used the new column in the slicer and selected "current " as default value. Based on the last business day, the current month is dynamically populated. 

     

    You could follow the same approach for all the slicers.

     

    If this helps, mark it as a solution.

    Kudos are nice too.

     

     

  • VasTg's avatar
    VasTg
    6 years ago

    Anonymous 

    Sarah,

     

    Create a custom or conditional sort order column where values for  jan is 1, feb is 2 etc.

    Then select the column you want to sort in Data view, then choose "sort by column" drop down to select the column you created in previous step.

     

    If it helps, mark it as a solution.

    Kudos are nice too.