Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi Team, I have an requirement to filter on visual level complete 3 months. I have date column in my report need to filter out only last 3 onths not rolling months. For example we now we are june, i want get filter on last 3 completed months(Mar, April, may) in visual level. How can we do that.
Solved! Go to Solution.
Hi @sreddy47652
Try this as a calculated column in your Dates table. Change the table and column names accordingly.
Last 3M =
VAR Start3MonthsAgo =
EOMONTH ( TODAY (), -4 ) + 1
VAR EndofLastMonth =
EOMONTH ( TODAY (), -1 )
RETURN
Dates[Date] >= Start3MonthsAgo
&& Dates[Date] <= EndofLastMonth.This will return True for those dates within the range. False for otherwise.
Hi @sreddy47652
Try this as a calculated column in your Dates table. Change the table and column names accordingly.
Last 3M =
VAR Start3MonthsAgo =
EOMONTH ( TODAY (), -4 ) + 1
VAR EndofLastMonth =
EOMONTH ( TODAY (), -1 )
RETURN
Dates[Date] >= Start3MonthsAgo
&& Dates[Date] <= EndofLastMonth.This will return True for those dates within the range. False for otherwise.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |