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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.