Dynamically pass multi-select values to a chart/gauge criteria; Or, get sum total of multiple counts from a for each loop
I want to use a multi-select field in a form to dynamically show results in a gauge/chart/graph. I would assume that when passing the multi-select values to the page variable, the page variable should be of type Collection..? When I try to set my gauge criteria to field is equal to (or contains) page variable, I get a mismatched data type error. And setting the page variable as type Text doesn't work either - the gauge criteria accepts it, but it's not translating the data right for this purpose - with each click of the multi-select boxes each box just cancels out the previous box clicked rather than adding the values together. I got to thinking that this isn't possible to do in this way, but I could do the math in a workflow of the form and just pass the final number to the page variable/gauge. But I can't quite wrap my head around getting that total. So far, I'm using a for each loop to get a count on each selection in the multi-select; but how do I add those counts together to get the total? This is what I've got:
for each selection in input.Multi_Select
{
typeCount = inventoryForm[auctionType == selection].count();
}
What comes next?
Access your files securely from anywhere
Zoho Developer Community
Deliver unforgettable customer experiences
Deliver unforgettable customer experiences
New to Zoho Marketing Plus?
Everything you need to run your marketing
New to Zoho Marketing Plus?
Everything you need to run your marketing
Zoho Desk Resources
-
Desk Community Learning Series
-
-
-
-
-
-
-
-
-
Sticky Posts
Share your success story
We would like to hear from our passionate users how much Zoho Creator has changed the way you work and benefited you. If you would like to share your story to us and be featured as a proud user of Zoho Creator, then this is for you. Fill up the form below and if you want to be included in a case study, we will get in touch with you to get further details. So what are you waiting for? Tell us your story. Charles
Merge and Store v1 API depreciation
Hi Zoho Writer users, The Merge and Store v1 API allows you to store the merged document in Zoho WorkDrive. The response of this API will be returned with the document's ID only after the merge is complete. In Deluge, the maximum timeout for operation
Zoho Creator Developer's Conference 2017 !!!
We welcome all our Creator Developers! You're invited to join us for our annual Zoholics Developers conference August 29th–31st! This is your chance to get training and guidance on Zoho Creator from our most knowledgeable custom app builders. Zoholics Developers is a three-day event where you'll participate in interactive workshops to hone your app-building skills, get questions answered by Creator experts with personal one-on-one sessions, and connect with other Creator developers from around
Zoho TeamInbox Resources
Zoho DataPrep Resources
Zoho CRM Plus Resources
Zoho Books Resources
Zoho Subscriptions Resources
Zoho Projects Resources
Zoho Sprints Resources
Qntrl Resources
Zoho Creator Resources
Zoho Campaigns Resources
Zoho CRM Resources
Zoho Show Resources
Writer Get Started. Write Away!
Writer is a powerful online word processor, designed for collaborative work.