The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
80 | |
78 | |
44 | |
39 |
User | Count |
---|---|
150 | |
116 | |
68 | |
64 | |
58 |