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
v-kelly-msft
6 years agoCommunity Support
Hi Anonymous ,
You need measures as below:
For +1 day:
+1day = SELECTEDVALUE('Table'[Date])+1+1 value = SELECTEDVALUE('Table'[Value])+1
For +8 days:
+8 day = SELECTEDVALUE('Table'[Date])+8+8 value = SELECTEDVALUE('Table'[Value])+8
Finally ,you will see:
For the related .pbix file,pls click here.
Best Regards,
Kelly
- Anonymous6 years agoNot applicable
The first formula is exactly what I need. But I can't put that measure as my rows in my matrix table. There is a work around for putting a measure in, so i'm going to try that.