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

View all the Fabric Data Days sessions on demand. View schedule

Reply
MarshalSK
Resolver I
Resolver I

How to get selected from Range filter

Hi Folks, Need help to get user entered value from range filter

MarshalSK_0-1710916448717.png

 

 

 

 

2 ACCEPTED SOLUTIONS
Uzi2019
Super User
Super User

Hi @MarshalSK 
You have to create seperte measures for Min and Max.

Min = CALCULATE(MIN(Table[Clicks]), ALLSELECTED(Table))

Max = CALCULATE(Max(Table[Clicks]), ALLSELECTED(Table))

Uzi2019_0-1710919156214.png

and you can switch value to rows instead of columns. by changing the settinf of Values > Option>

Uzi2019_1-1710919238046.png

 

 

I hope I naswered your question.




Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

Anonymous
Not applicable

Hi @Uzi2019 ,Thanks for the quick reply, I'll add to it.

Hi @MarshalSK ,

The table data are as follows:

vzhouwenmsft_0-1711010261438.png

Please follow these steps:
1. Use the following DAX expression to create a table

Table 2 = GENERATESERIES(1,100,1)

2. Relate the two tables

vzhouwenmsft_1-1711010303085.png

3. Use the following DAX expression to create a measure named ‘Max’

Max = SELECTEDVALUE('Table 2'[Value],MAXX('Table 2',[Value]))

4. Use the following DAX expression to create a measure ‘Min’

Min = SELECTEDVALUE('Table 2'[Value],MINX('Table 2',[Value]))

5. Final output

vzhouwenmsft_2-1711010368306.png

vzhouwenmsft_3-1711010378855.png

vzhouwenmsft_4-1711010392145.png


Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Uzi2019 ,Thanks for the quick reply, I'll add to it.

Hi @MarshalSK ,

The table data are as follows:

vzhouwenmsft_0-1711010261438.png

Please follow these steps:
1. Use the following DAX expression to create a table

Table 2 = GENERATESERIES(1,100,1)

2. Relate the two tables

vzhouwenmsft_1-1711010303085.png

3. Use the following DAX expression to create a measure named ‘Max’

Max = SELECTEDVALUE('Table 2'[Value],MAXX('Table 2',[Value]))

4. Use the following DAX expression to create a measure ‘Min’

Min = SELECTEDVALUE('Table 2'[Value],MINX('Table 2',[Value]))

5. Final output

vzhouwenmsft_2-1711010368306.png

vzhouwenmsft_3-1711010378855.png

vzhouwenmsft_4-1711010392145.png


Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Uzi2019
Super User
Super User

Hi @MarshalSK 
You have to create seperte measures for Min and Max.

Min = CALCULATE(MIN(Table[Clicks]), ALLSELECTED(Table))

Max = CALCULATE(Max(Table[Clicks]), ALLSELECTED(Table))

Uzi2019_0-1710919156214.png

and you can switch value to rows instead of columns. by changing the settinf of Values > Option>

Uzi2019_1-1710919238046.png

 

 

I hope I naswered your question.




Don't forget to give thumbs up and accept this as a solution if it helped you!!!

@Uzi2019  Thanks but above result will not satisfy the requirement, can you please make use of the sample data which i shared.

 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors