Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Solved! Go to Solution.
Hi,
Selectedvalue() will return only 1 value. use MIN() or MAX() function instead.
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
KR
Till
Hi @Till ,
In than case, you dont need SELECTEDVALUE() Function
Just use Min(ColumnName) or Max(ColumnName).
Hope that works
Thanks,
Namish B
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
KR
Till
Hi,
it`s works.
Thanks and be healthy
Hi @Till ,
In than case, you dont need SELECTEDVALUE() Function
Just use Min(ColumnName) or Max(ColumnName).
Hope that works
Thanks,
Namish B
Hi,
It should always return the value selected in the slicer. As said, in a dropdown no problem.
(Measure with min)
In this example 408
KR
Till
Hi,
Selectedvalue() will return only 1 value. use MIN() or MAX() function instead.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |