Can we calculate the formula using conditions for multiple rows?
- 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
Hi Team,
I have a doubt, The data I am working on is based on Years and Amounts. Attaching one sample excel file which has dummy data
The condition is like for example,
If we are taking 2023A column then the formula for first and last years(2023,2025) is Amount/2*0.5 and for the middle year(2024) is Amount/2.
If we are taking 2023B column then the formula for first and last years(2023,2028) is Amount/5*0.5 and for the middle years (2024,2025,2026,2027) is Amount/5.
It would be great if i get a solution ASAP.
Solved! Go to Solution.
- Labels:
- Behavior Analysis
- Date Time
- Preparation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Please find attached workflow to realize your demand, I understand that you want to calculate in different logic depending on A or B.
If this is OK for you, please accept my post as a solution.
- 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
Hey https://community.alteryx.com/t5/user/viewprofilepage/user-id/177620
Thank you so much for the quick response. But I need the total formula as well. Could you please help me on that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It is a piece of cake; Just add aggregation option in cross tab. I revised my WorkFlow as attached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
When you say totals are you referring to the headline amount number? I added that to our table through a union then stacking the split out values below that intiial row.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey https://community.alteryx.com/t5/user/viewprofilepage/user-id/420259,
Total Column refers to the sum of entire row. Not the sum of column. If we do the sum of column then the Amount will come right. I need Total which is sum of the Entire row
Thanks in Advance and Thank you so much for help.
- 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
Hey,
I don't see Total column in the workflow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
