cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

PowerApps - budget tracker (mobile template)

Basically I have encountered a problem with this Budget Tracker template for mobile layout. Spent amount is not calculated properly. For example if I add expense amount 100$ it is showing 475$ as amount spent.
So I searched through the same template but now for tablet layout and it was working just right. So I changed BudgetTitle to BudgetId on the same place according to tablet template and it worked. You will see on snipets and in text below.

(I am beginner correct me if I am wrong, please)

 

Problem:
If(Text(Coalesce(Sum(Filter(Expenses,BudgetTitle = Gallery1.Selected.BudgetTitle && BudgetId=Gallery1.Selected.BudgetId), Value(Expense)),0),"[$-en-US]$#,##")="$","$0",Text(Coalesce(Sum(Filter(Expenses,BudgetTitle = Gallery1.Selected.BudgetTitle), Value(Expense)),0),"[$-en-US]$#,##"))

 

Solution:
If(Text(Coalesce(Sum(Filter(Expenses,BudgetTitle = Gallery1.Selected.BudgetTitle && BudgetId=Gallery1.Selected.BudgetId), Value(Expense)),0),"[$-en-US]$#,##")="$","$0",Text(Coalesce(Sum(Filter(Expenses,BudgetId = Gallery1.Selected.BudgetId), Value(Expense)),0),"[$-en-US]$#,##"))

1 REPLY 1
Highlighted
Community Support
Community Support

Re: PowerApps - budget tracker (mobile template)

Hi @FilaCZ ,

Thanks for your sharing. Actually, it is an known issue with many template sample app in Mobile Phone layout.

 

As an fixed solution, please consider generate the Budget Tracker template app in Tablet Layout rather than Phone Layout. For your solution, I agree with you completely.

 

If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been solved. If you have any other questions about PowerApps, please feel free to reply here.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,093)