Forum Discussion
PBI_Curve
Helper I
8 years agoFilter for all after this month
This might exist already but I've searched for the different phrasings I could think of. I have 2 sets of values merged together, 1 is forecasts and the other is actuals. I use a basic If formula...
- Anonymous8 years ago
Hey PBI_Curve
I would recommend using the MONTH function to return the month number of NOW(). Also assuming that your data might have multiple years, you need to also specify that the year number of your data is less than the year number of NOW().
if (MONTH('Value'[date])<=MONTH(now()) && YEAR('Value'[date])<=YEAR(now()), 'show me actual', 'show me forecast')Hope this helps,
Parker
Anonymous
8 years agoNot applicable
Hey PBI_Curve
I would recommend using the MONTH function to return the month number of NOW(). Also assuming that your data might have multiple years, you need to also specify that the year number of your data is less than the year number of NOW().
if (MONTH('Value'[date])<=MONTH(now()) && YEAR('Value'[date])<=YEAR(now()), 'show me actual', 'show me forecast')Hope this helps,
Parker
PBI_Curve
Helper I
8 years agoThanks Anonymous, worked a treat!