Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
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 October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
108 | |
104 | |
93 | |
71 |
User | Count |
---|---|
173 | |
134 | |
132 | |
101 | |
95 |