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
mdaamirkhan
Post Prodigy
Post Prodigy

I need help in my current dax which i cannot add Today () +1 which I tried its not working.

Hi All,

 

I need help in my current dax which i cannot add Today () +1 which I tried its not working. How will I added Today () +1 in my current dax to so that it will add Today() +1 in the Number of current days

Query below:
Number of current days:  ABS(DATEDIFF([MaxDate],TODAY(),DAY)+2)

5 REPLIES 5
v-yuaj-msft
Community Support
Community Support

Hi @mdaamirkhan ,

 

Have you tried to use modified your DAX expression as follows?

ABS(DATEDIFF([MaxDate],TODAY()+1,DAY)+1)

 

If it doesn't work, please share some sample data and the expected result to have a clear understanding of your question? I can do some tests for you.

 

 

Best Regards,

Yuna

amitchandak
Super User
Super User

@mdaamirkhan , Not very clear 

 

Usually +1 should

Try like. Mobed ABS before addition

Number of current days: ABS(DATEDIFF([MaxDate],TODAY(),DAY))+1

 

or

 

Number of current days: ABS(DATEDIFF([MaxDate],TODAY(),DAY))+2

not working 

@mdaamirkhan ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

cannot share the pbix or data

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.