The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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 |
---|---|
17 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |