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 Apps / Help Needed with Power...
Power Apps
Unanswered

Help Needed with Power App Calculation Issue

(0) ShareShare
ReportReport
Posted on by 41

Hi There,

 

I wanted to reach out for some assistance regarding a challenge I'm facing with a Power App I've developed, which was inspired by the My Expense app template.

 

In this app, I've encountered an issue with one of the formulas, where it randomly calculates values as zero. This is puzzling because the SharePoint list, from which the data is sourced, contains the correct values.

 

I've thoroughly reviewed the app and the SharePoint list, and everything seems to be in order. Here are some key details:

 

- The "Cost" column, a numeric field, is used in the calculation, and it has valid data.

- The "ID" and "ReportID" values match as expected.

 

Note: ReportID is lookup column (with ID column)  

 

Despite these checks, I'm still unable to pinpoint the reason behind the formula randomly producing zero values. It's a bit perplexing, and I'm hoping to get some guidance on what other aspects I should consider or steps I can take to resolve this issue.

 

"Expense Total– ₹ " & With({LI:LineItems},If(Sum(Filter(LI,ReportID.Id = ThisItem.ID),Cost)>0, Text(Sum(Filter(LI,ReportID.Id = ThisItem.ID),Cost),"[$-en-US]#,###.00"),"0.00"))

 

2023-10-18_17-35-48.jpg

 

Regards,

Sanket 

 

 

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard