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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Understanding relative date filter and absolute date filter on the same page

I have few date filters on the page and by default relative date filter is selected for the last 1 month. If the absolute date range is not selected within the last 1 month, it shows blank. For example, if I have well-populated data from 2020 till today and last month filter has range 06/20/2021 to 07/19/2021 and the absolute date is in the range between 06/25/2021 to 07/03/2021 it will show data but if I select 05/20/2021 to 06/19/2021 it will show blank. Seems like the relative date has more precedence than the absolute date.

 

Any work around to use the absolute date independently if it is selected?

Screen Shot 2021-07-19 at 1.37.33 PM.png

 

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

Hi @Anonymous ,

 

The cause is it use the intersection of the two slicer . For example,  last month filter has range 06/20/2021 to 07/19/2021  and the absolute date is in the range between 06/25/2021 to 07/21/2021 it will get the data from 06/25/2021 to 07/19/2021.

 

If you select 05/20/2021 to 06/19/2021  for absolute date slicer there is no intersection between relative date slicer and absolute date slicer, so it will show blank().

 

The workaround is to use only one date slicer, or you can use slicer for different visual by editing interaction:

 

Capture14.PNG

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

View solution in original post

6 REPLIES 6
v-deddai1-msft
Community Support
Community Support

Hi @Anonymous ,

 

The cause is it use the intersection of the two slicer . For example,  last month filter has range 06/20/2021 to 07/19/2021  and the absolute date is in the range between 06/25/2021 to 07/21/2021 it will get the data from 06/25/2021 to 07/19/2021.

 

If you select 05/20/2021 to 06/19/2021  for absolute date slicer there is no intersection between relative date slicer and absolute date slicer, so it will show blank().

 

The workaround is to use only one date slicer, or you can use slicer for different visual by editing interaction:

 

Capture14.PNG

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

Anonymous
Not applicable

Thanks for the response.

 

I can remove the relative date filter but for the sake of performance, the requirement is to load only one month of data by default. Is there any other way to select only one-month dates from an absolute date picker?

Hi @Anonymous ,

 

You can create a bookmark with slicer select the last month and link the button with the bookmark. If you  want to see other data, just change the slicer.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

Anonymous
Not applicable

Hi Dedmon,

 

Unfortunately, by using the bookmark the date range would be static(to the bookmarked date) and the requirement is to use the last 1 month. 

Screen Shot 2021-07-26 at 9.20.30 AM.png

Thanks,

 

Hi @Anonymous ,

 

So you can only use one of the slicers. But we can't select only one-month dates from an absolute date picker by default.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Best Regards,

Dedmon Dai

Anonymous
Not applicable

Thank you, 

 

Regards,

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.