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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Display Sector,Industry,Company in Line Chart

Hi all

Could anyone help me

I want to display the sector,Industry and Company list in the chart using sum(GrossProfitMargin) in yearwise breakup..

I posted one sample file here..

[View:http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/0576.Line-Chart.rar:550:0]

Labels (1)
3 Replies
Not applicable
Author

Hi

Could anyone help me..

I hope it will be clear...

Its urgent....

Let me know, whether this is possible or not....

thanks in advance...

Not applicable
Author

Hi,

look at the script. Now your datamodell looks better. If you like, you can go on with joining, but it is not necessary. And you can comment the redundant fields like Sector and Sectorname in the Script.

Regards

Roland


//First Table to load:
Value:
LOAD CompanyID,
Month,
Year,
GrossProfitMargin
FROM
[.\test.xls]
(biff, embedded labels, table is Sheet2$);


Company:
LOAD CompanyName,
CompanyID,
IndustryID
FROM
test.xls
(biff, embedded labels, table is Sheet1$);

Industries:
LOAD Industries,
Industries as Industry,
IndustryID,
SectorID
FROM
test.xls
(biff, embedded labels, table is Sheet4$);


Sector:
Join (Industries) // put the two tables in one together
LOAD Sector,
Sector as SectorName,
SectorID
FROM
test.xls
(biff, embedded labels, table is Sheet3$);


//tempSector:
//LOAD Sector as SectorName
//FROM
//test.xls
//(biff, embedded labels, table is Sheet3$);

//tempIndustries:
//LOAD Industries as Industry
//FROM
//test.xls
//(biff, embedded labels, table is Sheet4$);</body>
Not applicable
Author

Hi

Its necessary to show the redundant data like sector and sectorname..

Sector is having link with industries and Companies

but SectorName is not having any link...

Its used to do the comparison...

my req is to show the selecte sector,Industries and companies in the single line chart...

Could anyone help me...

thanks in advance..