Forum Discussion
msommerf
Helper III
7 years agoCalculating age from a date and time
Hi am fairly new to BI & DAX and am struggling to do what I think should be very simple. I have the following measure: Selected Value = DATEVALUE(Format(SELECTEDVALUE('Year Analysis'[EOY Date])...
- Anonymous7 years ago
msommerf - One potential issue:
The SELECTEDVALUE function only returns a value if there is a single value in the context. To make sure you only get a single value, you could use MAX instead.
Hope this helps,
Nathan
Anonymous
7 years agoNot applicable
msommerf - One potential issue:
The SELECTEDVALUE function only returns a value if there is a single value in the context. To make sure you only get a single value, you could use MAX instead.
Hope this helps,
Nathan
msommerf
Helper III
7 years agoMany thanks Nathan. This worked a treat!