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.
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.
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.