Forum Discussion
Anonymous
3 years agoNot applicable
Filter based on date
Hello, I have a set of data with subscriptions and there I have a column with date & time that shows when the subscription last was used. The date column/data originally showed date and time but ...
- 3 years ago
You could create a Measure similar to the below and filter for "unused" only
Inactive Filter =VAR _LastDate = MAX('Table'[Date]) + 0VAR _CutoffDays = 365VAR _DaysSinceLastUsed = DATEDIFF( _LastDate, TODAY(), DAY)RETURNIF(_DaysSinceLastUsed > _CutoffDays, "Unused")
Anonymous
3 years agoNot applicable
AllisonKennedy
I think that almost works actually. But are measurements not used on side filters? So that all lists on the report page are automatically filtered by the measurement.
Maybe if I explain more about what I want to do.
I have thousands of mobile plans/subscriptions and from my operatator I can get the date it was last used.
I want to be able to in a whole report page me able to add this measurement or whatever is needed to only show the ones that have nothing filled in the date last used column or havent been used in a year or older.
Anonymous
3 years agoNot applicable
I solved it by creating a new column with the measurement. I learned something new.
Thanks AllisonKennedy !