Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Note: You may notice some temporary visual or styling issues in the Community. Our vendor is actively investigating.
cancel
Showing results for 
Search instead for 
Did you mean: 
sagaraperera
Creator
Creator

creaet new field

Dear All

I have given below script and it has been attached multiple excel file and crosstable field in BCOD,CATAGERY AND DESCRIPTION. I already hard cord description field as this

Load

Description,

if(match(Description,'GROSS PROFIT','Direct Expenses','Apportioned Direct Expenses','Direct - Other Income','Indirect Expenses','Mgt Fee - Apportioned Indirect Expenses','Indirect Income - Investment'),Description)  as NARATION

Then,  Description field include following item , (Gross Profit ,Direct Expenses , Apportioned Direct Expenses) then I want new item in that given below

Gross Profit - Direct Expenses - Apportioned Direct Expenses as Profit aft Direct Expenses

Please help get a above item and add a Narration field  as this

Load

Description,

if(match(Description,'GROSS PROFIT','Direct Expenses','Apportioned Direct Expenses','Direct - Other Income','Indirect Expenses','Mgt Fee - Apportioned Indirect Expenses','Indirect Income - Investment','Profit aft Direct Expenses'),Description)  as NARATION



My script

CrossTable(cata, Data, 3)

LOAD * 

FROM

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

Thanking You

Sagara

0 Replies