Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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 numbers
Return 40 and 46 to the column to calculate the average for these weeks
Return 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.
Solved! Go to Solution.
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.
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!