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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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