| Muhammad Mustafa Usmani
Sometimes in Power Portals we need to work with data differently that sometimes might not be catered by its solutions or components. And there are some ways through which you can do a lot of stuff with the data you are working with, lets step-by-step see what are those ways that I came across of using in order to work with different sorts of data in Power Portals.
Through Liquid Template Language
By using FetchXML Query in our Power Portals App, we can get all the data we need and can perform various liquid operations on the data like Iterations, Variables, and many more.

Like in the example above, I have used liquids for loop and control flow conditions directly on the data that I got from my FetchXML query.
Through JavaScriptPower Portals provides us with full access of using JavaScript; whether it is inline or separate. Although we cannot fetch data directly through JS but after fetching our data through FetchXML, we can work with the data however we want to. Once we have transitioned our data in JS variables, arrays or objects, we can perform any sort of complex operations on them.

In the example above, after fetching the required data I am using JS arrays to store data in an object manner and afterward using these arrays for further operations.
Join us next time, as we continue our journey of learning canvas apps.Click here to learn more about Imperium's Power Apps Services. We hope this information was useful, and we look forward to sharing more insights into the Power Platform world.