cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ShaikSayyad
Helper III
Helper III

calculations in gallery based on label text(Number)

Hi,

I need to display percentage based on gallery label text value, please refer below screen for your better understand

ShaikSayyad_0-1612812799152.png

I need to display 35%....in selected text input based on Textinput3_1.Text from gallery.

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User
Super User

Please follow these:

Insert an icon inside the Gallery5 and OnSelect put:

    Set(valueInGallery,ThisItem.Scenario1)

 

Then In the Textbox for the Percentage:

Text(valueInGallery/Sum(Gallery5.AllItems,Scenario1)*100,"####")&"%"

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

1 REPLY 1
eka24
Super User
Super User

Please follow these:

Insert an icon inside the Gallery5 and OnSelect put:

    Set(valueInGallery,ThisItem.Scenario1)

 

Then In the Textbox for the Percentage:

Text(valueInGallery/Sum(Gallery5.AllItems,Scenario1)*100,"####")&"%"

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,401)