cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FilaCZ
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
v-xida-msft
Community Support
Community Support

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,215)