Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
abhaysingh
Specialist II
Specialist II

Data BAse Format in QV

businessjan 14feb 14March 14Apr 14
target10203040
actual value8182838

i have a data source in this format for different different business but i need this data in below format

Businessmonthtargetactual value
xyzjan 14108
xyzfeb 142018

is this possible in QV after doing transformation becasue i have so many data in excel format would not possible to define it manually in excel.. kindly suggest

thanks in advance

6 Replies
anbu1984
Master III
Master III

How do you calculate Mar and Apr target?

Mar = Jan + Feb ?

Apr = Jan + Mar ?

abhaysingh
Specialist II
Specialist II
Author

no anbu...i am getting in the similar fashion for rest of the month are these are fixed value

buzzy996
Master II
Master II

u simply load ur data into pivot table and try to ply with rows & cloumns by moving top to left and left rows a top columns

anbu1984
Master III
Master III

Check Crosstable

abhaysingh
Specialist II
Specialist II
Author

how can i do it with cross table pls give me some examples or process to do it

anbu1984
Master III
Master III

Initial:

CrossTable(Month,Value)

Load * Inline [

Business,Jan14,Feb14,Mar14,Apr14

actual,8,18,28,38

target,10,20,30,40 ];

Final:

Load Month,Value As Actual Resident Initial Where Business = 'actual';

Join(Final)

Load Month,Value As Target Resident Initial Where Business = 'target';

Drop Table Initial;