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

See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap

Reply
Samba777
Frequent Visitor

if today is between two dates of sprint number then return value of sprint number in PowerBi DAX

Hi Folks,

I have a sample data like belwo chart

Iteration Start DateEnd dateSprint number
12/27/2022 12/30/2022 41
12/28/2022 12/31/2022 41
12/29/2022 1/1/2023 41
12/30/2022 1/2/2023 41
12/31/2022 1/3/2023 042
1/1/2023 1/3/2023 42
1/2/2023 1/3/2023 42
1/3/2023 1/3/2023 42

 

Suppose today date is 27th dec, so i have get the sprint number is 41 and suppose date is jan1st 2023 then we need to get sprint number is 42.

 

Please help me with DAX

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Samba777 
Please try

Today Sprint =
MAXX (
    FILTER (
        ALL ( Data ),
        Data[Iteration Start Date] <= TODAY ()
            && Data[IEnd Date] >= TODAY ()
    ),
    Data[Sprint]
)

View solution in original post

1 REPLY 1
tamerj1
Super User
Super User

Hi @Samba777 
Please try

Today Sprint =
MAXX (
    FILTER (
        ALL ( Data ),
        Data[Iteration Start Date] <= TODAY ()
            && Data[IEnd Date] >= TODAY ()
    ),
    Data[Sprint]
)

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

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