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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
JRP515
Frequent Visitor

How To Get Data Slicer to Automatically Update when Refreshing Data

Im working on a dashboard with multiple tabs and various data sources.

 

I don't know how I did it, but in one of the tabs, when you refresh the data, the date slicer automatically updates the second date (date slicer is set to "Between" setting) to be the most recent date that ther is data for.

 

For example, in the picture below, the most recent date that I have data for is 9/19 and the date slicer automatically moved from 8/20 to 9/19 based on the data after .

 

Good Slicer.PNG

Now I want the slicers in my other tabs to do the same thing, but I have no idea how (the data in the other tabs come from different data sources). I tried copy/pasting the date slicer from one tab to the other tab and that didn't work. I tried replicating so that the date fields were in the same format, but that didn't work.

 

I really have no clue why it's doing this for one of the date slicers, but not the others.

 

Please let me know if you've encountered this.

1 ACCEPTED SOLUTION
v-juanli-msft
Community Support
Community Support

Hi @JRP515 

If the date table is dynamic, the "between" date slicer can be dynamically updated to most recent date.

Here is a example, if i create a date table as below,

Next day, the slicer would move to 2019/9/25

Capture11.JPGCapture12.JPG

 

In you date table, are there dates until most recent date or until the current year end?

Please show more detials so that i can help you better.

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-juanli-msft
Community Support
Community Support

Hi @JRP515 

If the date table is dynamic, the "between" date slicer can be dynamically updated to most recent date.

Here is a example, if i create a date table as below,

Next day, the slicer would move to 2019/9/25

Capture11.JPGCapture12.JPG

 

In you date table, are there dates until most recent date or until the current year end?

Please show more detials so that i can help you better.

 

Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thinking about it further - this is the best way to go about it. We have date tables for most of our dashboards, and setting the second date TODAY() is what we need! It will take a few additional steps and workarounds, but definitely the best option.

 

Thanks!

Thanks for the response Maggie! That essentially accomplishes what I want to accomplish.

 

For this specific dashboard, we aren't using a date reference table, because we want to show to different dates in our dashboard - one for when ticket is submitted , and one for when it is closed, which come from the same data query.

 

The only problem with your solution is it is going to affect a lot of other dashboards that we have built for a client. We have been using a different date reference table to create time series graphs, cycle times,etc.

 

In this particular example that I showed, there was one date slicer that automatically updated to the most recent date that has refreshed data (no date table, just a simple date. But I can't figure out why that one updates automatically and none of the other slicers do. Could be a bug?

Helpful resources

Announcements
Fabcon_Europe_Social_Bogo

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.