Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

How to calculate values by using values in a different row?

PETER_SUPPIPAT
5 - Atom

Dear Alteryx Community,

Is there a way to calculate values using values in a different row?  In this case, the forecasted Divisional Allocations should equal Operating & Maint Expense times -1.  It is different than turning the positive Op Exp into negative value within the same row.  Any help would be greatly appreciated.

 

Acct Category2021 Budget2022 Forecast2023 Forecast2024 Forecast2025 Forecast2026 Forecast2027 Forecast2028 Forecast2029 Forecast2030 Forecast
Operating Revenues          
Operating & Maintenance Expense         1,328,093         1,372,476         1,418,394         1,460,946         1,504,775         1,549,918         1,596,415         1,644,308         1,693,637         1,744,446
Income from Operations       (1,328,093)       (1,372,476)       (1,418,394)       (1,460,946)       (1,504,775)       (1,549,918)       (1,596,415)       (1,644,308)       (1,693,637)       (1,744,446)
Corporate Allocations                       -                         -                         -                         -                         -                         -                         -                         -                         -                         -  
Divisional Allocations       (1,328,093)                       -                         -                         -                         -                         -                         -                         -                         -                         -  
Total Allocations       (1,328,093)                       -                         -                         -                         -                         -                         -                         -                         -                         -  
Net Operating Income                       -           1,372,476         1,418,394         1,460,946         1,504,775         1,549,918         1,596,415         1,644,308         1,693,637         1,744,446
Depreciation Expense                       -                         -                         -                         -                         -                         -                         -                         -                         -                         -  
Net Income                       -           1,372,476         1,418,394         1,460,946         1,504,775         1,549,918         1,596,415         1,644,308         1,693,637         1,744,446
5 REPLIES 5
Qiu
20 - Arcturus
20 - Arcturus

@PETER_SUPPIPAT 
Lets just turn the rows into columns.

Capture3A.PNG

PETER_SUPPIPAT
5 - Atom

Hi Qiu, That works great.  Thank you so much for your kind assistance with this.  Is there a way to reorder the row in a specific sequence?  The output file should have the below order.

 

PETER_SUPPIPAT_1-1620692484008.png

 

Qiu
20 - Arcturus
20 - Arcturus

@PETER_SUPPIPAT 
Added some small processing. 😁

Capture3A1.PNG

PETER_SUPPIPAT
5 - Atom

Qiu, This is great.  Thank you so much for taking your time to put together the workflows and sharing your knowledge with me.  I found this very useful.  Your help is greatly appreciated.

Qiu
20 - Arcturus
20 - Arcturus

@PETER_SUPPIPAT 
Glad to hep and thank you for the warm word 😁

Labels