Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
Hi All,
I have a slicer and I'm displaying year in it.
I want to display the selected value in a card and for that I have written a DAX like below.
Solved! Go to Solution.
Hi @AnandNamburi ,
SELECTEDVALUE will only show a value if there is one value selected. It's second argument is for displaying something else if there are more than one values. That said, selecting a range of numbers or dates means that there are more than one numbers or dates. I would use either MAX, MIN, LASTNONBLANK or FIRSTNONBLANK instead.
Proud to be a Super User!
Hi @AnandNamburi ,
SELECTEDVALUE will only show a value if there is one value selected. It's second argument is for displaying something else if there are more than one values. That said, selecting a range of numbers or dates means that there are more than one numbers or dates. I would use either MAX, MIN, LASTNONBLANK or FIRSTNONBLANK instead.
Proud to be a Super User!
User | Count |
---|---|
131 | |
74 | |
70 | |
58 | |
53 |
User | Count |
---|---|
190 | |
97 | |
67 | |
62 | |
54 |