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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Update Rating control
Power Apps
Unanswered

Update Rating control

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all, 

 

1. I am working on an app that allows users to rate the solutions provided using Rating star control. I want the users to be able to see their previous rating and then update the value if they want to. What function can I use to update the last submitted rating value in Dataverse under 'Solution Rating' to the updated value?

 

2. Is it possible to set the Default value of the rating control equal to the last submitted rating?

i.e. if I rated the solution a 4 last time, 4 stars will appear

Categories:
I have the same question (0)
  • Verified answer
    AmeerJab Profile Picture
    370 on at

    Hello,

    If the rating is stored in a database you can use patch to update it, and to show the user latest value you can use the stored value.

    Hope this help.

    Regards. 

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @ilimeli

    Could you please tell me that the field type of the 'Solution Rating'?

    Do you want to display the last submitted rating value and edit it?

     

    Actually, we create a Text column in data source to store the rating value.

    Not sure if there is a form for you to edit the record, I just suggest you add an edit form to display and edit rating value.

     

    1). Add an Edit Form and click on the Rating Data Card at the left side in the tree view.

    vqiaqimsft_0-1635304179357.png

    2). Unlock the Rating _DataCard1as in the below screenshot.

    vqiaqimsft_1-1635304179594.pngvqiaqimsft_1-1635304179594.png

    3). Click on Advance of the “Rating Data Card” and replace the ‘DataCardValue2.Text” to “Rating Value. Value” in the “Update” property.

    vqiaqimsft_2-1635304179727.png

    Note that the Default property of the Rating represents the last submitted rating value, I set it as :

     

    ThisItem.'Solution Rating'

     

    4). Set the Edit Form DataSource property as your Dataverse table and set the Item property of the form as below:

     

    First(Sort(DataverseTable,'Modified On',Descending))

     

    5). Add an submit button and set the OnSelect property as below:

     

    SubmitForm(Form1)

     

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard