03-30-2023 8:22 AM - edited 04-14-2023 8:11 AM
This post is part of the SAP Build Community Challenge (April 2023)
This week’s challenge involves formulas – a key feature of SAP Build Apps. Formulas are used in bindings of components, and enable you to manipulate data before it is displayed in a component or before it is sent to a data source.
Formulas are created in the formula editor, which provides some tools for making writing formulas easier:
Here are some learning materials about formulas:
We will give you an app that looks like this (I like cats).
To set up the challenge, do the following:
You should now have the skeleton project.
Inside the app, we have already created a page variable called StartValue that contains the starting data that we want you to transform.
When you are ready, on the UI Canvas, select the Transform button, open the logic canvas, then select the Set page variable flow function, and finally go to set the formula for Assigned Value on the right (which currently returns an empty list).
This is what you need to do:
Your screenshot should look something like this but without the blur (I need to see the names and averages) and with your name:
Good luck ... and have fun!!
You have to do 3 things in the formula (aggregate/group, sort, round), so find a function that does each one. Use the wonderful editor features that document the available functions.
For example, for aggregating, go to the List area, and then find a function that aggregates (in this case, GROUP). You'll see all the documentation for it on the right, plus a little playground inside the documentation for testing it. Pretty cool!
04-27-2023 9:03 AM
04-27-2023 9:30 AM
04-20-2023 9:51 AM - edited 04-20-2023 9:57 AM
04-20-2023 2:13 PM
04-25-2023 12:32 PM
Nice work 😺 Feel free to do the other challenges
https://blogs.sap.com/2023/03/30/you-think-you-know-sap-build-take-our-challenge/
04-21-2023 3:51 AM
Hello Dan,
Thanks for the interesting challenge.
Just discovered this challenge yesterday, hoping it's not too late to joing it.
Here is my screenshot:
thanks,
Pamela
04-25-2023 12:29 PM
Of course not too late 😺Please participate in all the challenges
https://blogs.sap.com/2023/03/30/you-think-you-know-sap-build-take-our-challenge/
04-22-2023 3:06 PM
Hello Dan,
Movie name : Madagascar
Challenge is very interesting. I was trying this quite long time. After going through the steps and suggestions from the comments multiple times, I have achieved finally. 😎
04-25-2023 12:02 PM
Sorry it took a long time ... what was particularly difficult?
Try the other challenges 😺
https://blogs.sap.com/2023/03/30/you-think-you-know-sap-build-take-our-challenge/
04-25-2023 1:32 PM
Actually, It took more time for me to identify that I have to use PLUCK to get amount values from the items loop.
Anyhow its a good learning 😀
04-22-2023 7:21 PM
04-25-2023 12:01 PM
Nice work...I hope you will try the other challenges
https://blogs.sap.com/2023/03/30/you-think-you-know-sap-build-take-our-challenge/
04-22-2023 10:48 PM
Hello Dan,
I started a bit late with the challenge.... I like such tasks!!!
Here my first part:
The movie is Madagascar!
Best regards!
Helena
04-25-2023 12:00 PM
Thanks for participating and glad you liked it. You left out the sorting part.
After adding the sorting, try out the other challenges ... never too late 😺
https://blogs.sap.com/2023/03/30/you-think-you-know-sap-build-take-our-challenge/
04-23-2023 2:35 AM
Hello @dan_wroblewski ,
Really enjoyed working on this challenge.
Move name is Madagascar and following is the screenshot of my app
Regards
Vinay
04-23-2023 4:30 PM
04-25-2023 11:54 AM
Thanks for joining the challenge 😺 Please consider continuing onto the rest
https://blogs.sap.com/2023/03/30/you-think-you-know-sap-build-take-our-challenge/
04-23-2023 6:41 PM
04-25-2023 11:18 AM
04-24-2023 8:21 PM
Hello,
Starting at full speed the challenge this week! 🙂
The Key is to work with the appgyver doc webpage.
04-25-2023 11:10 AM
04-25-2023 8:58 AM
04-25-2023 11:02 AM
04-26-2023 8:16 AM
Hello @dan_wroblewski,
SAP Build Challenge – Week 1 – Formulas:
Looking forward for more exercises like this one to get familiar with the Formulas of SAP Build Apps!!
Thank you 🙂
04-27-2023 8:32 AM
04-26-2023 11:56 AM
Hi Dan,
I just found out about these Challenges today, and it took a while to get the hang of the formulas. But I now finally got the result below 😀. Thanks!
04-27-2023 8:25 AM
04-26-2023 3:08 PM
04-26-2023 9:54 PM
04-27-2023 8:07 AM
04-27-2023 5:14 AM
04-27-2023 7:50 AM - edited 04-27-2023 7:51 AM
04-27-2023 8:19 AM
04-27-2023 11:57 PM
I am little late, but it is never too late to learn.
Thanks for the challenge.
Movie is Madagascar
04-30-2023 10:07 AM
04-28-2023 11:10 AM
Hello everyone! I'm a bit late to the party but I'm always game for a challenge! To be honest this one was more difficult than I anticipated. Looking forward to the next! The movie is Madagascar BTW.
04-30-2023 9:57 AM
05-01-2023 4:36 AM
05-02-2023 5:27 AM
05-01-2023 5:11 PM