web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Parent.Default doesn't...
Power Apps
Answered

Parent.Default doesn't work for decimal numbers in the dropdown list HELP

(0) ShareShare
ReportReport
Posted on by 17

Hello,

I need your help. I am using PowerApps which fills Excel. I generated PowerApp app automatically from Excel and then I personalised some fields.

I have several dropdown lists, all of them work fine ( I fill it using app, it updates information in Excel, I can also modify it, and it will update the new information again). I'm using the function If(EditForm1.Mode = FormMode.New ;0 ; Parent.Default) to conserve Default value before modifying it. My problem is that this function for default value does not always work. My dropdown list contains Numbers as Items (not text), If I select the whole number like 1 , 2 , 3, In the EditScreen it works fine, but if I choose the decimal number, it will update in Excel but It won't be saved as a default value. 

 

Hope to hear from you soon, 

Thank you and have a great day.

 

2020-02-17_15h37_01.png2020-02-17_15h36_29.png

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,925 on at
    A little clarification. You saying when you pick the decimal, it shows correctly on your form. But when you save, the decimal portion doesn't appear in Excel.
  • Laurent2 Profile Picture
    17 on at
    Thank you for your response, When I pick the decimal, it shows correctly on my form and in Excel too. But when I want to modify it in the app, if my selected value is a whole number, my default value will be the whole number which I entered previously; but if my previously Selected value is a decimal number, then in the Mode Modify, my default value is lost (it will show the default value of the FormMode. New  while I want it to show the default value of the EditForm. Mode). Ex: I entered 2, I Submitted form, I decided to modify it, in the EditScreen 2 ; will be displayed and I can modify it. I entered 2.25, I Submitted form, I decided to modify it, in the EditScreen 0; will be displayed  (instead of 2.25) and I can modify it.  I have no problem with Excel, If I cancel my Modification, In Excel 2.25 will be displayed as expected.
  • Verified answer
    eka24 Profile Picture
    20,925 on at
    Try this on the format property of the textbox:
    Text(Value(Parent.Default), "#.00")
    Its most likely a formatting issues. Kindly look at this document, go to the number formatting section :
    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-text

    If you like this post, give a thumbs up. Where it solved your issue, Mark as a solution
  • Verified answer
    Laurent2 Profile Picture
    17 on at

    Thank you again, I just deleted all my SharePoint data connections, and then added them again, I don't know why but It worked, It was probably the formatting issue as you mentioned. 

    Have a nice day!

  • eka24 Profile Picture
    20,925 on at
    You can close it by making as a solution so other users can find it.
  • Faizi Profile Picture
    12 on at

    Dear friends,

     

    I need your help. I am using PowerApps which fills my Excel. I generated PowerApp app automatically from Excel and then I personalised some fields.

    I have several text input fields, all of them work fine ( I fill it using app, it updates information in Excel. The only thing is that my Power Apps few text input fields which are number format also in excel, the figures are showing e.g. 43534, or 530000. I want them to be shown in Powerapps with correct decimal places e.g. 530,000.00 or 43,534.00.

     

    Hope to hear from you soon, 

    Thank you,

    Faizi

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard