Forum Discussion
01_RAF_01
5 years agoFrequent Visitor
Variable date table with parameter as enddate
Hi Im trying to make a calendartable with the enddate based on a parameter.
These are the parameter values. My goal is to set the enddate based on today + the value selected by the slicer/parameter
This is a part of the table where i set my start and enddate but unfortunatelly this way it doesnt work :
DIM_Dates =
ADDCOLUMNS (
CALENDAR (DATE(2020,1,1), Today()+Enddate[daysinfuture]),
"DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ),
"Year", YEAR ( [Date] ))
Help/ tips are welcome how to fix this.
Help/ tips are welcome how to fix this.
01_RAF_01
Unfortunately no, that is how the model works.