Skip to main content

Notifications

Community site session details

Community site session details

Session Id : DkKIPOcdzqHdFpcQwMfpoc
Power Apps - Microsoft Dataverse
Answered

Making a percentage column on a table

Like (0) ShareShare
ReportReport
Posted on 15 Dec 2023 12:28:31 by 10

I need the users to be able to register any additional discount we might get on purchases that the company makes, so I have a unit price column and a additional discount column in my "Pricing" table.

The issue is, that dataverse  doesnt have a "percentage" data type. Of course, people can use the decimal version, but the initial impulse when one is going to write down a discount is to use the percentage number. 

Do I have to make a separate column that will take the discount percentage inputted by the user and transform it into decimal to avoid any mistakes, or is there a way for the same "additional discount" column to transform any data written in it to decimal (like how in excel when we set the format of a cell to percentage so any calculations done with that cell are accurate)

  • Verified answer
    Parvez Ghumra Profile Picture
    1,579 Super User 2025 Season 1 on 15 Dec 2023 at 12:40:02
    Re: Making a percentage column on a table

    @danisername23 If the intention of the column is to for the value in it to be captured manually by the user, just use a Decimal/Whole Number type column (whatever fits your use case), and set the minimum and maximum values on it to be 0 and 100 respectively. You can then build logic in your application (or elsewhere) to interpret the value as a percentage for any calculations, reporting etc.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,662 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Loading started