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.
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)
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
@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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
99 | |
98 | |
80 | |
76 | |
66 |
User | Count |
---|---|
135 | |
109 | |
104 | |
83 | |
73 |