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
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 (1,016)