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.
Hey!
I'm hoping someone can help me come up with a formula for "Days back minus 2 (From current date)". Not sure if you will need the current "Fields" i was given in the dataset, but here they are ...
Thank you in advance! 🙂
Solved! Go to Solution.
Hey @jonnyA ,
depends on what exactly you are doing.
You can just use your date and do a minus 2, for example as a calculated column:
Day before yesterday = myTable[Date] - 2
To calculate the date proper I would use the DATEADD function:
DATEADD ( DateTable[Date] , -2, DAY )
Hey @jonnyA ,
that's great news! I'm happy you could solve it.
Can you mark my post as solution if it helped you to find the right formula? This makes it easier for the next person to find the right path for a similar problem.
Hey @jonnyA ,
depends on what exactly you are doing.
You can just use your date and do a minus 2, for example as a calculated column:
Day before yesterday = myTable[Date] - 2
To calculate the date proper I would use the DATEADD function:
DATEADD ( DateTable[Date] , -2, DAY )
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 |
---|---|
109 | |
96 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
88 | |
63 |