How to apply IF condition and operation minus ("-") to compare data on one table

  • Hi All

    I have the view data like this:

    Model Date upload May June

    AAA 2010-05-21 4500 3500

    AAA 2010-05-14 1500 2500

    BBB 2010-05-21 5500 0

    BBB 2010-05-14 0 6500

    and i need output report like:

    Model Date upload May June

    AAA 2010-05-21 4500 3500

    AAA 2010-05-14 1500 2500

    DiffAAA 3000 1000

    BBB 2010-05-21 5500 0

    BBB 2010-05-14 0 6500

    DiffBBB -5500 6500

    How to apply IF condition and operation minus ("-") to compare data on one table?

    Please suggest with your experience which is suitable for me.

    Thank You....

  • Hi,

    Will the data will be like this always ,how you provided , I mean only two record for one model? If so do like this

    1) Insert a table group on Model

    2) Insert Group footer

    3) In the expression for the columns of May you can give as

    =First(Fields!May.Value)-Last(Fields!May.Value)

    and for June

    =First(Fields!June.Value)-Last(Fields!June.Value)

    Thanks & Regards,
    MC

  • Hi MC...

    This is a good workaround to apply. And the best thing is that it works fine!!! 🙂

    Thanks a lot, It was very help full!

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply