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
I_NeedMorePower
Helper III
Helper III

Date Slicer Does not Filter with First Date to Last Date

Hello power people,

 

It's been a year having this issue for the date slicer,

 

I have transactions with a date starting from 2014 to today (2020).

I made a table called it "Date" table and it has dates starting from 2019 to today (2020).

and I made a relation between the date table and the transactions table using a date key string.

Then I used a slicer with the date field of "Date" table I created.

 

The issue is when I choose the first date with the last date of slicer (1/1/2019 to today), it does not filter and it does not affect the visuals on the page. all the older transactions of 2014 to today appears.

It only does filter when I choose different dates other than the first with last dates. (2/1/2019 to today or 1/1/2019 today - 1)

 

and the reason I do not filter out the older transactions from the "Edit Query" screen is because I use them for other balance calculations.

There is a workaround I did and it's that I made the starting date a day before 1/1/2019 (31/12/2018), but that does not please the clients.

 

Any solutions for this issue?

 

Thanks in advance!

2 ACCEPTED SOLUTIONS
mahoneypat
Employee
Employee

Not sure what your are observing, but one quick fix might be to add a page-level filter in the Filters panel (locked, so users can't change it) on the column with the 2014 dates for >=1/1/2019.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


View solution in original post

v-yingjl
Community Support
Community Support

Hi @I_NeedMorePower ,

Not certain what does your expected output look like. If you want to filter values in a specified date range, you can use 'filter on all pages' filter and set a date range.

page filter.png

Or you can consider some sample data and expected output for further discussion.

 

Best Regards,
Yingjie 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
I_NeedMorePower
Helper III
Helper III

Thanks guys for the help!

That worked!

v-yingjl
Community Support
Community Support

Hi @I_NeedMorePower ,

Not certain what does your expected output look like. If you want to filter values in a specified date range, you can use 'filter on all pages' filter and set a date range.

page filter.png

Or you can consider some sample data and expected output for further discussion.

 

Best Regards,
Yingjie Li

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

mahoneypat
Employee
Employee

Not sure what your are observing, but one quick fix might be to add a page-level filter in the Filters panel (locked, so users can't change it) on the column with the 2014 dates for >=1/1/2019.

 

If this works for you, please mark it as the solution.  Kudos are appreciated too.  Please let me know if not.

Regards,

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


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.