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

Transformation Problem

Hi Friends,

Can anyone help me, please?

I am trying to transformation same as Excel into Qlikview. But, It's not getting correct way.

Please Assist me

- ANIL

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
8 Replies
stabben23
Partner - Master
Partner - Master

Hi,

And your problem is? Do You want it to look as the excelsheet?

Anil_Babu_Samineni
Author

Thanks for attempting on wall, I want same thing in Qlikview. Can you please look for that. The values header should show

 

          WW Sales ($m)     CAGR       WW Market Share  Rank Chg.
20142020      2014-2020142020      2014-20
6,2467,4973%23.40%21.60%0
4,4807,4409%16.80%21.40%2
5,2587,3436%19.70%21.10%0
5,8457,2534%21.90%20.90%-2
1,537979-7%5.70%2.80%0
24650613%0.90%1.50%6
3153773%1.20%1.10%1
3993691%1.30%1.10%-2
2953181%1.10%0.90%1
2722760%1.00%0.80%1
Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
tracysmart
Creator II
Creator II

you are going to need to define separate expression for each column and format them accordingly.

It looks like you are calculating percentage increase decrease aswell as ranking but your data model is very simplistic here in the sample and contains the results.

if you just want to mimic excel then the attached does this but I think in your actual app, you can calculate most the !columns based on the first 2

hubertdudek
Contributor III
Contributor III

Import only company name and two first years column as a cross-table in wizard.

Then create new chart - straight table (or pivot) and calculate everything.

Not applicable

Header 1

Hi Anil,

Why don't you edit your Excel sheet this way. It will be easier to load and  understand the data.

Let me know your thoughts.

Thanks

Khurram

Anil_Babu_Samineni
Author

Can you please help me on my Application with using my Data. Might this route hearing good one

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anil_Babu_Samineni
Author

Ali & Tracy,

I am expecting this? Might be clear. Now help required..

Capture.PNG

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
stabben23
Partner - Master
Partner - Master

Hi,

this might help, but I think that Your input data(excelsheet) is not "Clear" enough. Hardcoded Field is always a big risk.

Temp:
CrossTable([WW Sales], Data, 2)
LOAD Rank,
Company,
[2014],
[2020],
[2014-20],
[20141],
[20201],
[2014-201]
FROM

(
ooxml, embedded labels, header is 1 lines, table is Sheet1);

NoConcatenate
Data:
LOAD Rank,
Company,
[WW Sales],
If([WW Sales] ='2014' or [WW Sales]='2020','WW Sales ($m)',
If([WW Sales] ='20141' or [WW Sales]='20201','WW Market Share',
If([WW Sales] ='2014-20','CAGR',if([WW Sales] ='2014-201','Rank Chg.')))) as Header,
Data
Resident Temp;

Drop table Temp;