web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Get subtotal of liquid...
Power Pages
Answered

Get subtotal of liquid variables in table

(0) ShareShare
ReportReport
Posted on by 23

Hello,

I am new to PowerApps so please bare with me. In my Portal I have a Web Template where I am using FetchXML to get data. I have a table (screenshot attached) and am trying to get the Subtotal of all values in the Total column.

 

My Total column looks like this: 

 

 

 <td class="linetotal">{% assign linetotal = routineCount.results.entities.size | times: {{result.obj_price | format: "c" }} %}
 {{linetotal}}</td>

 

 

 

I have spent some time trying to get the total sum using Liquid & JS/JQ but nothing seems to work. Any help or tips would be appreciated! 

Screen Shot 2021-12-18 at 11.47.20 AM.png
Categories:
I have the same question (0)
  • Verified answer
    OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @KellyMcLaren ,

     

    You can just create another variable and add to it your linetotal after each time you calculate it. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 41

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 35 Most Valuable Professional

#3
rezarizvii Profile Picture

rezarizvii 28

Last 30 days Overall leaderboard