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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
singleton2787
Helper III
Helper III

How to select a date range that's not in the future based on an end date?

How would you select the current Sprint (based on today's date) and NOT select the future dates? I've tried Calendar MINX and MAXX, but it selects future dates as well. It's almost like you need to have a function that uses today() but no more than X days in the future (the end of the sprint) thus removing future Sprints. I could use the IterationPath as a slicer?

singleton2787_0-1666025535438.png

 

1 ACCEPTED SOLUTION

Hi , @singleton2787 

What do you want to show in this visual . It looks like that you have only one [Start Date] and [End Date] . 

My test result is as follows:

vyueyunzhmsft_0-1666159228381.png

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

3 REPLIES 3
v-yueyunzh-msft
Community Support
Community Support

Hi, @singleton2787 

According to your description , you want to filter the Springs which the [EndDate] is before the TODAY().And you want to get the [IterationPath] in this condition. Right?

Here are the steps you can refer to :
(1)This  is my test data :

vyueyunzhmsft_0-1666056961764.png

(2)You can click "New Table" to create a table in Power BI Desktop:

Table = FILTER( 'Tabelle1' , 'Tabelle1'[EndDate] <= TODAY())

(3)You can put the [IterationPath] field in your slice and you can also create a relationship between two tables :

vyueyunzhmsft_1-1666057159145.png

 

If this method does not meet your needs, you can provide us with your special sample data and the desired output sample data in the form of tables, so that we can better help you solve the problem.

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

How do I get the dates right?

singleton2787_0-1666105333067.png

 

Hi , @singleton2787 

What do you want to show in this visual . It looks like that you have only one [Start Date] and [End Date] . 

My test result is as follows:

vyueyunzhmsft_0-1666159228381.png

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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