Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello all experts,
I want a DAX fromula No. of days between order date and Todays date in DirectQuery mode
In above screenshot, 12/08/22 is my Order Date and 31/10/22 is Todays date so, No. of days between date is 80
So, I want Dax Formula which is Applied in DirectQuery mode,
I used this DAX,
Day Count = DATEDIFF(Query1[orderdate],Today(),DAY)
But it is not applicable.
Meaasge if anything require.
Solved! Go to Solution.
Try
Day Count = DATEDIFF(SELECTEDVALUE(Query1[orderdate]),Today(),DAY)
Try
Day Count = DATEDIFF(SELECTEDVALUE(Query1[orderdate]),Today(),DAY)
Yes it worked. Thanks
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 8 | |
| 7 | |
| 7 |