Skip to main content
Community site session details

Community site session details

Session Id : v8QeQIZdVeu5YHrU5OAHDo
Power Apps - Building Power Apps
Answered

Use decimals with slider control

Like (1) ShareShare
ReportReport
Posted on 20 Jun 2017 20:40:35 by 101

Hi

 

Is it possible to work with decimals with the slider control?

For instance: min = 1, max = 5 and increments of .5 ?

  • RameshP Profile Picture
    4 on 13 Feb 2024 at 13:27:16
    Re: Use decimals with slider control

    Hello,

     

    I created a slider and I passed a min value as 0, and the maximum value as 1 and I want to increment 0.1 each time a user perform action through the slider, so can someone help me how to design this? Remember the values should change in reverse order when user drags the slider to the beginning again.

  • logixcrm Profile Picture
    71 on 25 Jan 2021 at 15:04:58
    Re: Use decimals with slider control

    Here is an idea in case you need a slider with decimal values.

     

    Add a Slider control to your canvas, the set the properties as follows

    • Min - 0
    • Max - 10
    • Default - 0
    • Show value - Off
    • Rename the slider to "slider"

    The add a text label above the slider, rename the label to "sliderLabel". Set the Text property of the sliderLabel to the following formula - slider.Value / 10

     

    That's it, see the picture attached for the result. 😎

  • NabeelNQ Profile Picture
    90 on 24 Dec 2018 at 09:52:48
    Re: Use decimals with slider control

    Awesome, this works! 🙂

  • Verified answer
    ShaneSloan Profile Picture
    22 on 20 Jun 2018 at 19:40:08
    Re: Use decimals with slider control

    I'm working through setting up a slider to record the body temperature of a patient in Farenheit. I set the slider to default to 986 and then set min / max of 900 / 1090. I then used a caption field and divided the number of the slider by 10 to show the correct value. While this is not ideal, its a viable work-around. 

     

    Hope this helps.

  • AKotb Profile Picture
    on 20 Jun 2017 at 21:12:11
    Re: Use decimals with slider control

    Defining increments is not supported yet in Slider Control

     

     

    You can add a new idea on Power Apps ideas forum

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

     

    or Vote up on a related idea

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/Slider-Control-Increment-Setting/idi-p/7032

    and adding that the increment should support decimal values.

     

    Thanks

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete