logic
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Error
Solved! Go to Solution.
- Labels:
- Developer
- Developer Tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Ekmi9 ,
Yes, it needs an iterative macro, but I'm currently on with a client. I'll build this for you later today.
M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Ekmi9 ,
Ok, I built an iterative macro to do this for you, and I get the same figures as you until one row. I cannot get the numbers to reconcile and the only thing I can think of is you've typed on number incorrectly, or you have provided the incorrect logic.
These are the figures I get applying the logic you have proided:
As you can see, my calculated figures on row 15 show a balance of 16925859.33 where yours shows 1692589.33. It looks like you've missed the second 5, or I've missed something huge.
Let me know if that's a mistake on your part or not.
Thanks,
M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@mceleavey ho apologies for that it typo error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@mceleavey can you please share the workflow and mcro for my reference it would be grate help for me
Thanks in advance !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Ekmi9 ,
I built this as an iterative macro, and it's probably going to be a bit complicated to go over the entire thing, but the logic is as follows:
the data is first split into types, subs and redemptions, the first of which is take from each one. Then, the redemption amount is taken from the sub amount giving a balance, and adjusting the amount on the sub down to that balance. The redemption is then given the balance and is fed out. The sub then iterates around with it's remaining balance and the next redemption is applied. This is repeated until the balance of the sub drops to zero, at which point it is fed out with it's initial amount and the next sub is taken for the remaining redemptions.
And so on until all are done.
I've attached this as an extraction so it will install the macro for you.
I hope this helps,
M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have version issue for cleansing macro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Ekmi9 ,
I would also recommend looking into Iterative Macros more. You can find resources at the following links:
https://help.alteryx.com/20221/designer/iterative-macro
https://community.alteryx.com/t5/Interactive-Lessons/Creating-an-Iterative-Macro/ta-p/657925
Hope this helps.
M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you so much but due to version mismatch i macro issue i am not able to open
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

- « Previous
-
- 1
- 2
- Next »