Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
tracycrown
Creator III
Creator III

Change in value

Dear all

Kindly advise how to create a report to show change in value for all years.

Data Source:

 

Description2011 2012 2013
Revenue $ 200,000 $            231,400 $              156,822
Cost of sales $ 140,000 $            161,980 $              109,775
Gross profit $ 60,000 $              69,420 $                47,047

Requirement :

 

Description2012 2011 Change2013 2012 Change
Revenue $ 231,400 $    200,000 $       31,400 $ 156,822 $    231,400 $    (74,578)
Cost of sales $ 161,980 $    140,000 $       21,980 $ 109,775 $    161,980 $    (52,205)
Gross profit $ 69,420 $ 60,000 $ 9,420 $ 47,047 $ 69,420 $ (22,373)

Thank you

Tracy

1 Solution

Accepted Solutions
pradosh_thakur
Master II
Master II

Hi

check out if this helps.

Capture.PNG

Learning never stops.

View solution in original post

17 Replies
tracycrown
Creator III
Creator III
Author

Dear all,

I do not expect any response on new year day but I would like to wish everyone a Happy, Healthy and Prosperous New Year 2018.

Best Wishes

Tracy

mdmukramali
Specialist III
Specialist III

Hi,

Kindly find the attached Application.

I hope it will help you.

!

mdmukramali
Specialist III
Specialist III

Hi ,

PFA updated File.


I would like to wish everyone a Happy, Healthy and Prosperous New Year 2018.

    

            Thanks & Wish you the same.

tracycrown
Creator III
Creator III
Author

Dear Mohammed Mukram

Is there a better way as one needs to hard code the year (2012, 2013 ... 2017 ) in future ?.

Thank you

Tracy

shiveshsingh
Master
Master

Happy new year to you too..please refer attached

test:

CrossTable(Year, Value)

LOAD Description,

    [2011], [2012],

    [2013]

FROM

[..\Desktop\Test-1.xls]

(biff, embedded labels, table is Financial$);

load

Description,Year,Value,if(Description=Previous(Description),Previous(Value),0) as Previuos_Old,

Previous(Value)

Resident test;

mdmukramali
Specialist III
Specialist III

Hi,

Kindly find the Updated attached Application.

tracycrown
Creator III
Creator III
Author

Dear Mr Shivesh Singh

Happy New Year 2018

You are using straight table, please advise how to change to pivot table ?.

Thank you

Tracy

pradosh_thakur
Master II
Master II

Hi

check out if this helps.

Capture.PNG

Learning never stops.
tracycrown
Creator III
Creator III
Author

Dear Mr Pradosh Thakur

Happy New Year 2018 to you and your family.

Thank you for your kind advice, please advise what is the purpose of INLINE below :

LOAD * INLINE [
DIM
1
2]
;

Thank You

Tracy