Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
i have qvd named cease.qvd. In that there is a PnL table.
I am loading the PnL table from the qvd-
load * from [lib://pnl/cease.qvd] (qvd);
Then i want to make a resident table from PnL-
tab2:
Load
"Fiscal Year",
Quarters,
"Customer Group Descr",
SBU_leaders,
If(((sum(EBIDTA)/sum(new_revenue))*100)<0,'<0%',
If(((sum(EBIDTA)/sum(new_revenue))*100)>=0 and (sum(EBIDTA)/sum(new_revenue))*100<10,'0-10%',
If(((sum(EBIDTA)/sum(new_revenue))*100)>=10 and (sum(EBIDTA)/sum(new_revenue))*100<20,'10-20%',
If(((sum(EBIDTA)/sum(new_revenue))*100)>=20,'>=20%','<0%')))) as EBIDTA%_categorization
Resident PNL //??
Group by "Fiscal Year",Quarters,"Customer Group Descr",SBU_leaders;
If i try making a resident of PnL it is showing me a an error. , how can i make a resident by loading the qvd with the above script.
New to making qvd's, request your help
Hi,
Follow this steps for example.
One --> name:
Load Table1 from excel
Two --> Concatenate
Load Table2 from excel
Three --> Store name into .../name.Qvd.
Drop Table name;
-------------> You don´t need to make this if you don´t change of app.
Four --> name:
Load * FROM .../.nameQVD (QVD);
name2: Load * Resident name;
--------------> Take care with sythetics
Regards
Miguel del Valle
what error it is showing?
What is the name of first table, when you load a "PNL QVD"?
hi ,
its showing PnL not found
hi miguel,
The qvd is cease and the table is pnl.
Could you attach your script?
Hi PFA screenshots of the script
instead of *
PnL:
load
Field1,
Field2
Filed3.....
From PNl .qvd
main:
load *,
field1
...
resident PnL
Hi,
I think that you nedd to name your table when you load QVD. If you have another table with the same name, You are going to have problems too.
PNL:
load * from [lib://pnl/cease.qvd] (qvd);
tab2:
Load
"Fiscal Year",
Quarters,
"Customer Group Descr",
SBU_leaders,
If(((sum(EBIDTA)/sum(new_revenue))*100)<0,'<0%',
If(((sum(EBIDTA)/sum(new_revenue))*100)>=0 and (sum(EBIDTA)/sum(new_revenue))*100<10,'0-10%',
If(((sum(EBIDTA)/sum(new_revenue))*100)>=10 and (sum(EBIDTA)/sum(new_revenue))*100<20,'10-20%',
If(((sum(EBIDTA)/sum(new_revenue))*100)>=20,'>=20%','<0%')))) as EBIDTA%_categorization
Resident PNL //??
Group by "Fiscal Year",Quarters,"Customer Group Descr",SBU_leaders;
Regards
Miguel del Valle
Hi Miguel/Chanty,
I have 2 different tables having almost the same colmuns being loaded from two different sources which i merged in a single qvd(cease)