Forum Discussion
nabullock
3 years agoFrequent Visitor
Issue using SELECTEDVALUE for selecting a specific date.
This code returns the correct value in a table "visual"
But this to a column in table
sDate =
VAR selectedDate =SELECTEDVALUE(SelDates[ListedDate]) -30
Return selectedDate
Hi nabullock ,
You just need a CALCULATE:
sDate = VAR selectedDate = CALCULATE ( SELECTEDVALUE ( SelDates[ListedDate] ) ) - 30 RETURN selectedDateIf this solves your question, Please give it a thumbs up and accept it as a solution to make it easier for the others to find what they are looking for.
Regards,
Loran
2 Replies
- MohammadLoran25Solution Sage
Hi nabullock ,
You just need a CALCULATE:
sDate = VAR selectedDate = CALCULATE ( SELECTEDVALUE ( SelDates[ListedDate] ) ) - 30 RETURN selectedDateIf this solves your question, Please give it a thumbs up and accept it as a solution to make it easier for the others to find what they are looking for.
Regards,
Loran - nabullockFrequent Visitor
Thanks!