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
vanessafvg
Super User
Super User

Using date slicer to calculate a target dynamically

is there a way of passing  or grabbing the first date in a date slicer to a calculation?  

 

i want to calculated a target based on whether i am looking at this years data or last year data.   Just wondering if there is a dynamic way to do this?

 





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




1 ACCEPTED SOLUTION
dedelman_clng
Community Champion
Community Champion

should be able to use something like

 

MIN( ALLSELECTED ( DateTable[Date] )

 

or

 

FIRSTDATE( ALLSELECTED (DateTable[Date]) )

View solution in original post

2 REPLIES 2
dedelman_clng
Community Champion
Community Champion

should be able to use something like

 

MIN( ALLSELECTED ( DateTable[Date] )

 

or

 

FIRSTDATE( ALLSELECTED (DateTable[Date]) )

thank you!





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




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