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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Giada90
Helper III
Helper III

dynamic date selecting a date filter

Hi, 

I need to create a text with dynamic date based on selected filter date.

For example if I select 2023 I need to see

 

-starts before  01/01/2024 and end after 01/01/2025.

-starts before 01/01/2024 and end on 31/12/2024.

-starts and end in 2024.

-starts in 2024 and ends after 01/01/2025.

 

if I select 2022 I need to see the same but with one year before etc.....

how can I do? which formula I need to use to have this date?

thanks

 

1 REPLY 1
Deku
Continued Contributor
Continued Contributor

Is this the kind of thing you are looking to see?

https://evaluationcontext.github.io/posts/IslandsAndGaps/

 

1000016132.jpg

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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