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]$#,##"))
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,
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
278 | |
232 | |
80 | |
37 | |
37 |
User | Count |
---|---|
352 | |
237 | |
125 | |
71 | |
55 |