Write Value (Same Attribute) from Example2 to Example1

m_moertl
m_moertl New Altair Community Member
edited November 5 in Community Q&A

Hi again!

I now managed to sort my stuff with the help of you. I also managed to do my own sorting process with 4 lvls. Thanks again!

 

But i would need help for something else. I think for you guys it's pretty easy but i can't figure it ou. I need to manage to get the Value of an example to a another example. The Value that i need in the first row, is in the second one. The value for the 3rd one, is writen in the 4th. And so on. Like this:

 

ID    SummLike

1            ?

2            25

3            ?

4            13

 

And it should look like this:

 

ID    SummLike

1            25

2            0

3            13

4            0

 

Thanks and regards

Mike

 

Tagged:

Best Answer

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Answer ✓

    Dear Mike,

     

    please have a look at the Lag Operator in series extension. This is able to shift a rows horizontally.

     

    Best,

    Martin

Answers

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Answer ✓

    Dear Mike,

     

    please have a look at the Lag Operator in series extension. This is able to shift a rows horizontally.

     

    Best,

    Martin

  • m_moertl
    m_moertl New Altair Community Member

    Sorry for the late reply! This can fix it! But is there also a possibility to move it 1 up? if i gonna use it, it put's everything one row down.

     

    Thanks and kinde regards

    Mike

  • MartinLiebig
    MartinLiebig
    Altair Employee

    Hi,

     

    easy fix - use Sort and Sort it the other way around. Other way: One might be able to add -1 as lag which adds a +1. I've not tried it though.

     

    Cheers,

    Martin