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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Different Date slicer for Different Columns

Hi,

I want to apply different date slicer for different column in my grid. 

eg:

 

 

Capture.PNG


Here, I want to compare metric 1 (for a specified date range) to metric 2 (for a different specified date range. 

Please Help!

2 REPLIES 2
PaulDBrown
Community Champion
Community Champion

@Anonymous 

One way of doing it:

1) create a duplicate of your date table, with no relationship with your fact tableModel.JPG

 

2) create measure for your metric 1

3) create a metric measure which filters your date table based on the selection in your second date table (Metric 2 Date table):

Metric 2 = CALCULATE(SUM('Fact Table'[Target]); 
        TREATAS(VALUES('Metric 2 Date Table'[Metric 2 Month-Year]);'Calendar'[Month-Year]))

 

and you get this:

2 date slicers.JPG

 





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






amitchandak
Super User
Super User

Please refer my blog, hope that can help

 

Comparing-Data-Across-Date-Ranges

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges

Connect on Linkedin

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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
Top Kudoed Authors