Reputation: 4418
In my dim_Date table I have column MonthYear
.
But how can I write the expression so when choosing a value, the data would be filtered UP TO that date, so everything from the beginning and up to that date?
For example if I select Nov-2018
, the data should be displayed from the beginning and up to Nov-2018
?
Thanks
UPDATE:
Cant see options "Before" or "After"
This is my dim_Date table:
dim_Date = ADDCOLUMNS(
CALENDAR (DATE (2017, 1, 1), DATE (YEAR(TODAY())+1, 12, 31)),
"DateAsInteger", FORMAT ( [Date], "YYYYMMDD" ),
"Year", YEAR ( [Date] ),
"MonthNumber", FORMAT ( [Date], "MM" ),
"MonthYear", FORMAT ( [Date], "mmm-YYYY" )
)
Upvotes: 0
Views: 270
Reputation: 40204
It's definitely possible to do with a list slicer, but the easiest option is to just use a different form of the slicer.
Upvotes: 1