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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.