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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
dkjain77
Regular Visitor

Power BI Date Slicer

How can I design date slelection in Below format

 

Date Slicer - Relative date

 

dkjain77_0-1611814630761.png

 

4 REPLIES 4
dkangel21
Frequent Visitor

Or Roll your own custom one.  This is my first one - calculations are all 4-5-4 calendar based but uses a standard retail calendar interface.  

dkangel21_0-1620685007104.png

 

lbendlin
Super User
Super User

Time to rethink your UX paradigms, I guess.  Maybe teach your users how to use the native Power BI date filters?

lbendlin
Super User
Super User

You write a measure that probes SELECTEDVALUE() of your date slicer, and then computes the corresponding range (likely with a rather long SWITCH() statement)

We have tried that and it is messy.  Not to mention it shoots the memory usage up and slows down the entire filtering process.  Writing a relative control that works in conjunction with a date slicer works somewhat but it has issues when new data shows up because the filter gets applied across the board when loading.  

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors