Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Conditional flip amount in CSV import #1953

Closed
2 tasks done
kymckay opened this issue Nov 22, 2023 · 5 comments
Closed
2 tasks done

[Feature] Conditional flip amount in CSV import #1953

kymckay opened this issue Nov 22, 2023 · 5 comments
Labels
feature This issue is a feature request

Comments

@kymckay
Copy link
Contributor

kymckay commented Nov 22, 2023

Verified feature request does not already exist?

  • I have searched and found no existing issue

💻

  • Would you like to implement this feature?

Pitch: what problem are you trying to solve?

See this sample from a set of downloaded credit card transactions:
image

The amount should only be flipped for rows where debitCreditCode is valued Debit. It's no big problem in this simple case, but on a much larger file the user either needs to pre-process the CSV or post-process the amounts in Actual after import.

Describe your ideal solution to this problem

Needs a bit of design thought, but perhaps a secondary checkbox is shown if "flip amount" is ticked. Checking the secondary box enables selection of a column + selection of a value from that column to flip the amount on a simple if condition.

Would probably want to consider whether there are possible more complex cases and whether those should be supported too. Overall this isn't an urgent need because the user can open the CSV in spreadsheet software and tweak it before import.

Teaching and learning

@kymckay kymckay added the feature This issue is a feature request label Nov 22, 2023
@github-actions github-actions bot added the needs votes Please upvote this feature request if you would like to see it implemented! label Nov 22, 2023
Copy link
Contributor

✨ Thanks for sharing your idea! ✨

This repository uses lodash style issue management for enhancements. That means enhancement issues are automatically closed. This doesn’t mean we don’t accept feature requests, though! We will consider implementing ones that receive many upvotes, and we welcome contributions for any feature requests marked as needing votes (just post a comment first so we can help you make a successful contribution).

The enhancement backlog can be found here: https://github.com/actualbudget/actual/issues?q=label%3A%22needs+votes%22+sort%3Areactions-%2B1-desc+

Don’t forget to upvote the top comment with 👍!

@shall0pass
Copy link
Contributor

I don't know about your specific file, but the checkbox to "split amount into separate input/outflow columns" has corrected this for me in the past.

@kymckay
Copy link
Contributor Author

kymckay commented Nov 22, 2023

I don't know about your specific file, but the checkbox to "split amount into separate input/outflow columns" has corrected this for me in the past.

Sadly not suitable here. It seems some organisations (this is the second I've come across) only provide CSV statements with all values in a single positive column and a separate debit / credit flag column.

@youngcw
Copy link
Member

youngcw commented Feb 8, 2024

@kymckay I think this is doable now. Can you confirm?

@kymckay
Copy link
Contributor Author

kymckay commented Feb 10, 2024

@youngcw confirmed!

@youngcw youngcw removed the needs votes Please upvote this feature request if you would like to see it implemented! label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue is a feature request
Projects
None yet
Development

No branches or pull requests

3 participants