Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

Selected Value of Slicer Range of Values

Hi,

 

I have a slicer for range of  values. I want to be able to display what I entered in the range of values using selectedvalue function. My goal is to be able to display the minimum and maximum from fleet size entered into the upper box as highlighted below:

jdalfonso_0-1670855337023.png

 

Pseudo code is selectedvalue(min(fleet_size)) 

 

Based on this, I should be able to display in the box above 300 - 500

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , based on what I got


new measure =
var _max = maxx(allselected(Table),Table[Value])
var _min = minx(allselected(Table),Table[Value])
return

"Min Value " & _min & "  Max Value " & _max

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , based on what I got


new measure =
var _max = maxx(allselected(Table),Table[Value])
var _min = minx(allselected(Table),Table[Value])
return

"Min Value " & _min & "  Max Value " & _max

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.