Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
92 | |
86 | |
85 | |
66 | |
49 |
User | Count |
---|---|
140 | |
113 | |
106 | |
64 | |
60 |