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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Measure not responding to a slicer

Hello,

 

I created this measure to return my earliest contract effective date:

 

OverallStartingDate =
CALCULATE(
    min('CONTRACT'[EFFECTIVE_DATE]), REMOVEFILTERS()
)
 
The measure does return the earliest effective date like I want it to, but when I adjust the date range slicer on my report the measure (OverallStartingDate) ignores the slicer's range.
jaqui_carol_0-1689866971693.png
When slicer range is changed, I want OverallStartingDate to re-evaluate based on the contracts with effective dates in that range rather than return the overall starting date of contracts not included in the range.
jaqui_carol_1-1689866996719.png
I tried deleting "REMOVEFILTERS()", but this returns the effective date of each individual contract; I need the earliest overall effective date within the slicer range to appear on each row.
jaqui_carol_2-1689867395118.png

 

Thank you for any help. I'm super new to PowerBI and just learning the basics!
 
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , This measure should work

 

calculate( min('CONTRACT'[EFFECTIVE_DATE]), allselected())

 

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

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Amazing, much-appreciated @amitchandak !!

amitchandak
Super User
Super User

@Anonymous , This measure should work

 

calculate( min('CONTRACT'[EFFECTIVE_DATE]), allselected())

 

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.