Forum Discussion
Include slicer value in Measure
Hi All,
Transferring a value from a slicer into a measure is no problem with selectedvalue.
I have a table for the values:
Measure:
I think I have read that selected value does not work here.
Does anyone have a tip?
Thanks
Till
Hi,
Selectedvalue() will return only 1 value. use MIN() or MAX() function instead.
- Anonymous5 years ago
Hi Till- Are you trying to select all values in that range?
For Eg: between 365 and 495? SELECTEDVALUE will not work in this case as it returns one result only?
Try making the column as WholeNumber and Change Summarization to Sum.
Hope this Helps.
Cheers,
-Namish B
Hi Namish,
I always need only one value. I think the approach with Max or min is the right way. Unfortunately I do not know how to calculate the measure
KRTill
- Anonymous5 years ago
Hi Till ,
In than case, you dont need SELECTEDVALUE() Function
Just use Min(ColumnName) or Max(ColumnName).
Hope that works
Thanks,
Namish B
7 Replies
- Ashish_MathurSuper User
Hi,
Selectedvalue() will return only 1 value. use MIN() or MAX() function instead.
- TillResolver II
Hi,
Thanks for your answer,
at the moment I'm a little bit out of place. can you send me a measure example ?
Kind Regards
Till
- AnonymousNot applicable
Hi Till- Are you trying to select all values in that range?
For Eg: between 365 and 495? SELECTEDVALUE will not work in this case as it returns one result only?
Try making the column as WholeNumber and Change Summarization to Sum.
Hope this Helps.
Cheers,
-Namish B
- TillResolver II
Hi Namish,
I always need only one value. I think the approach with Max or min is the right way. Unfortunately I do not know how to calculate the measure
KRTill
- AnonymousNot applicable
Hi Till ,
In than case, you dont need SELECTEDVALUE() Function
Just use Min(ColumnName) or Max(ColumnName).
Hope that works
Thanks,
Namish B