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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Return the max value of a slicer to a column

Hi there

 

I have a range of weeknumbers and use them in a slicer. I want to return the max value (and later the min value) of the slicer into a column to calculate the average based on the user selection.

 

Range of numbersRange of numbersReturn 40 and 46 to the column to calculate the average for these weeksReturn 40 and 46 to the column to calculate the average for these weeksReturn 40 and 43 to calculate the average of weeks 40-43Return 40 and 43 to calculate the average of weeks 40-43

 

I tried to use SELECTEDVALUE but if multiple values are returned it shows blank. Is there a function I can use?

I hope I have described the problem well.

Big thanks in advance.

1 ACCEPTED SOLUTION
Barthel
Solution Sage
Solution Sage

Hey @Anonymous,

You can use the MAX function for the maximum and the MIN function for the minimum. However, a slicer has no effect on your tables, and therefore also not on calculated columns. A slicer only affects visuals and the measures you place in them.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Thank you @Barthel

I expected, that this is not possible.

Best regards

Barthel
Solution Sage
Solution Sage

Hey @Anonymous,

You can use the MAX function for the maximum and the MIN function for the minimum. However, a slicer has no effect on your tables, and therefore also not on calculated columns. A slicer only affects visuals and the measures you place in them.

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