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

Count of TrueText Toggles

Hi there,

 

I have a number of toggles. 

 

My aim is to get a text data card that displays the percentage of toggles set as true of the whole. 

 

The toggles represent training modules so if x number of modules are complete you would have a certain percentage complete. 

 

Do you know how something like this could be coded? 

 

Cheers for your help!

 

CH

1 ACCEPTED SOLUTION

Accepted Solutions

In your Textbox or DatacardValue put:

(Toggle1.Value+Toggle2.Value+Toggle3.Value+Toggle4.Value)/4*100 &" %"
 
Where 4 is the number of Toggles on your form
------------

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

4 REPLIES 4
eka24
Super User
Super User

Please are the Togglles in a Gallery?

Can you show a screen shot?

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

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.

Channah
Helper III
Helper III

Hi Eka24, 

 

The toggles are in an edit form. 

 

The data card that calculates the percentage will also be in the edit form. 

 

Thanks for your help! 

CH 

In your Textbox or DatacardValue put:

(Toggle1.Value+Toggle2.Value+Toggle3.Value+Toggle4.Value)/4*100 &" %"
 
Where 4 is the number of Toggles on your form
------------

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

Worked Perfect! 

 

Thanks for your help! 

CH

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,521)