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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
AsNa_92
Resolver II
Resolver II

Date Range and Period filter

Hi team,

 

I have a request to develop a dashboard where I should have a range date (from to) and a checkbox that should show all the data in all dates as below:

AsNa_92_1-1737374752219.png

 

my data is separet dates as below:

6/11/2024 0:00
6/12/2024 0:00
6/13/2024 0:00
6/14/2024 0:00
6/19/2024 0:00
6/20/2024 0:00
6/21/2024 0:00
6/24/2024 0:00
6/25/2024 0:00
6/26/2024 0:00
6/27/2024 0:00
6/28/2024 0:00
7/1/2024 0:00
7/2/2024 0:00
7/3/2024 0:00
7/4/2024 0:00
7/5/2024 0:00
7/7/2024 0:00
7/8/2024 0:00
7/9/2024 0:00
7/10/2024 0:00
7/11/2024 0:00
7/12/2024 0:00

 

 

How can I show only one checkbox for all dates?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks for the reply from speedramps and rohit1991, please allow me to provide another insight.
Hi @AsNa_92 ,

Please refer to the following steps.

 

Creates a new calculated column in the calendar table.

Column = "All Dates"

vdengllimsft_0-1737441546263.png

 

 Create slicers using these two columns separately. Then synchronize the filtering changes from the Calculated column slicer to the Date column slicer.

vdengllimsft_1-1737441749913.png


In this way, when you select the “All Date” option of the calculated column slicer, all dates will be displayed.

vdengllimsft_2-1737441862022.png


please see the attached pbix for reference.

Best Regards,
Dengliang 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

4 REPLIES 4
Anonymous
Not applicable

Thanks for the reply from speedramps and rohit1991, please allow me to provide another insight.
Hi @AsNa_92 ,

Please refer to the following steps.

 

Creates a new calculated column in the calendar table.

Column = "All Dates"

vdengllimsft_0-1737441546263.png

 

 Create slicers using these two columns separately. Then synchronize the filtering changes from the Calculated column slicer to the Date column slicer.

vdengllimsft_1-1737441749913.png


In this way, when you select the “All Date” option of the calculated column slicer, all dates will be displayed.

vdengllimsft_2-1737441862022.png


please see the attached pbix for reference.

Best Regards,
Dengliang Li

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

Thanks alot @Anonymous 

I know this way but because of the work load I forgot about it 🙂 

rohit1991
Super User
Super User

To create a dashboard with a date range filter and an "All Dates" checkbox:

  1. Add "From" and "To" date pickers for users to filter specific periods.
  2.  Configure it to bypass the date range filter when selected, showing all data.
  3. Ensure dates are formatted consistently.
  4. Implementation:
    • In Power BI: Use a slicer for the date range and a parameter or DAX measure for the "All Dates" functionality.
    • In Tableau: Use a parameter for the checkbox and calculated fields to control the date filtering.
 

Did it work? ✔ Give a Kudo • Mark as Solution – help others too!
speedramps
Super User
Super User

In Power Query transform your date/time column to a date.
In your report add a Slicer visual.

Add the Date field to your Slicer with the Between option.
Move the slider to select a date range.

Then hover on the slicer and click on the erasure icon which will clear the slection.

Teach your users and developers how to use this in-bult ALL feature, rather than developing a bespoke soution.

Then all slicers look and behave and behave the same way, which is the UX/UI best pratice.

 

Please click [accept solution] and thumbs up to show your appreciation, thank you.

 

speedramps_0-1737378399377.png

 

 

 

 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors