Quantcast
Channel: Data Preparation & Blending discussions
Viewing all articles
Browse latest Browse all 4999

Update Multiple Fields with Multi-row Formula Tool

$
0
0

Hi all,

 

I am trying to use one calculation to update multiple fields using information from multiple rows. As an illustration, there are three pieces of logic I want to incorporate:

 

  1. I eat three apples a week
  2. I can carry 10 apples at a time
  3. If I buy 40 apples in a ten week period, I get the last five for free

What I imagine is the following fields:

 

Number of Apples I HaveWeekTotal Apples Purchased

10

110
7210
4310
1410
8520
5620
2720
9830
6930
131040
1000
700
400
100
8110
5210
2310
9420

 

Basically, I need a running total of the number of apples I have purchased so I know how many to buy in week ten. And I need a field that is a re-setting counter from the first purchase so I know when I've reached week ten.

 

Is there a way to update separate fields as I do a multi-row formula on a single field?

 

Thank you!


Viewing all articles
Browse latest Browse all 4999

Trending Articles