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
I want a slicer with year and want parent level as current year and previous year. Also i need to drilldown to corresponding years.
My intention is to make my page always filtered to current year when user opens the report. Viewpoint required.
Thanks in advance
Solved! Go to Solution.
Hi, you need to create a caluclated column in date table with if condition.
CY_PY = if(year(date) = year(Now()),CY,PY)
Use this column first in filter and drag year column next to that.
Click the CY checked and publish the report.
Your are done.
Hi, you need to create a caluclated column in date table with if condition.
CY_PY = if(year(date) = year(Now()),CY,PY)
Use this column first in filter and drag year column next to that.
Click the CY checked and publish the report.
Your are done.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 41 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 183 | |
| 114 | |
| 93 | |
| 62 | |
| 45 |