Forum Discussion
Anonymous
6 years agoNot applicable
Changing the date when comparing values
Hi, I'm doing some calculations where I calculate the values +1 day and +8 days against the selected date. But when I'm selecting a date in first table the date doesn't change in the other tables. I...
- 6 years ago
Hi Anonymous ,
You need measures as below:
For +1 day:
+1day = SELECTEDVALUE('Table'[Date])+1+1 value = SELECTEDVALUE('Table'[Value])+1For +8 days:
+8 day = SELECTEDVALUE('Table'[Date])+8+8 value = SELECTEDVALUE('Table'[Value])+8Finally ,you will see:
For the related .pbix file,pls click here.
Best Regards,
Kelly
Anonymous
6 years agoNot applicable
I created the calendar table and joined it with my table. The comparing is going good but my dates are still staying the same.
amitchandak
6 years agoSuper User
Please provide a sample what you want to show vs what you are getting
- Anonymous6 years agoNot applicable
I updated the post with a foto of the expected result I'm trying to get.
- amitchandak6 years agoSuper User
Not sure I still got it.
But if we want to show date of 7th and show diff 6th and 7th we use -1 day measure
but If want show same on 6th we will use +1 day measure