Categorize expenses by location
Options
![brian](https://us.v-cdn.net/6037124/uploads/userpics/11OHPI6GVCSP/nPOPOEI090I2H.png)
brian
Administrator
ADMIN
This snippet provides an endpoint for categorizing expenses based on the location where the transaction occurred.
- Snippet: https://www.xano.com/snippet/6SPxQGdC
- Loom walk-through: https://www.loom.com/share/e1ff94ff741e494897dfa6a9f138e396
- How to add a Snippet: https://docs.xano.com/xano-features/snippets/preview-and-add-a-snippet
It features:
- GET /expense_by_category: an API that queries all transactions and summarizes the amount spent by the category of the location.
You can use this snippet to learn how to Query All Records and:
- Join two tables
- Bring a column in from a related table using eval
- Bring data in from a related column using addon
- Aggregate the results and sum the amounts
Feel free to add suggestions, requests, or questions in the comments!
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback