Skip to Content
author's profile photo Former Member
Former Member

Current period time vs previous period time

Hi All,

I have to create a report which compare the sales period time..

for example variable 0calmonth period 0108 - 0208

product | current period 0108 / 0208 | previous period 0107 / 0207 | current - previous

TV | 1000 | 500 | 500

Audio | 100 | 300 | -200

its work great

but when I add 0calmonth in column query

product | current period 0108 - 0208 | previous period 0107 - 0207 | current - previous

0107

0207

0108

0208

0107

0207

0108

0208

0107

0207

0108

0208

TV | 0 | 0 | 800 | 200 | 300 | 200 | 0 | 0 | -300 | -200 | 800 | 200 |

Audio | 0 | 0 | 70 | 30 | 150 | 150 | 0 | 0 | -150 | -150 | 70 | 30 |

This is not what i want.

I want this.

product | current period 0108 - 0208 | previous period 0107 - 0207 | current - previous

0108

0208

0107

0207

0108-0107

0208-0207

TV | 800 | 200 | 300 | 200 | 500 | 0 |

Audio | 70 | 30 | 150 | 150 | -80 | -120 |

How do that?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 18, 2008 at 12:25 PM

    Hi,

    I think there is a way to do this, take normally first 4 fields, product | current period 0108 - 0208 | previous period 0107 - 0207 | current - previous

    Then remove 0CALMONTH from columns and after that create a RKF by new selection, using sales Keyfig. with 0CALMONTH resticted to the value 0108, and next take a new selection and restrict the same with 0208.

    Similarly restrict for remaining months also (0107 0207 0108-0107 0208-0207 ) so that it can be arranged in the order u want.

    Hope this helps.

    Rgs,

    I.R.K

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.