The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
If Slicer Selected year, show selected year, if not show last year.
how to do this?
Solved! Go to Solution.
Hi @SLima
You need to use SELECTEDVALUE to find that.
SELECTEDVALUE([Column you added to Slicer], Year(Today())-1)
Or use the PREVIOUSYEAR rather than Year(Today())-1.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Hi @SLima
You need to use SELECTEDVALUE to find that.
SELECTEDVALUE([Column you added to Slicer], Year(Today())-1)
Or use the PREVIOUSYEAR rather than Year(Today())-1.
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
User | Count |
---|---|
15 | |
11 | |
8 | |
8 | |
7 |
User | Count |
---|---|
21 | |
20 | |
11 | |
10 | |
7 |