Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2812

How to get Next element in current section.

$
0
0

Hello Everyone,

 

I come to you because I don't know what else to do to achieve the results I need in one report.

 

Well, imagine that I have a query that return two dimensions.

Dimension1 = A text of 4 characters

Dimension2 = Return a date and time object

 

I'm using the dimension1 as a section.

Inside of each section I use both dimensions (and some more data from another query).

 

What I need is: In the position 0 of the section, I need to capture the "next" value of Dimension2 (this means the value of the dimension at the position 1 of the section).

 

The contrary works fine, If I am in position 1 of the section, I can easily capture the value of the position 0 of the section by using the function Previous.

 

Do you guys have any suggestion on how to achieve this result?

 

Any help would be highly appreciated!

 

Thanks a lot in advance!

Marcos

 

Message was edited by: Marcos Morais


Viewing all articles
Browse latest Browse all 2812

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>