Forum Discussion
Measure not returning a value
- Anonymous3 years ago
Hi jtpiazzamn ,
I made an example for your reference.
As you can see, the SELECTEDVALUE function returns blank. Because the SELECTEDVALUE function returns the value when the context for columnName has been filtered down to one distinct value only.
If you select an ID in the slicer, the measure in the card visual returns value.
If the slicer doesn't select it, you put the measure into a visual with context, and the measure returns value.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi jtpiazzamn ,
I made an example for your reference.
As you can see, the SELECTEDVALUE function returns blank. Because the SELECTEDVALUE function returns the value when the context for columnName has been filtered down to one distinct value only.
If you select an ID in the slicer, the measure in the card visual returns value.
If the slicer doesn't select it, you put the measure into a visual with context, and the measure returns value.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.