Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
In attached sample data, I want to create the pie chart for deduction. But all the Fields as column here.
Please help me out to right the logic on front end. or on the basis of inline table.
Thanks,
Lalit Kumar
Hi Lalit,
Try the following code in back end
table1:
CrossTable(Deduction, Data)
LOAD LinkDate,
[Deduction for EGCV],
[Deduction for Cost of Coal],
[Deduction for Unloading Charge],
[Deduction for Imported Coal],
[Mega Deduction]
FROM
(ooxml, embedded labels, table is Sheet1);
and in front end add "LinkDate" as dimension and add the following expression in pie chart object:
sum(Data)
Hi Lalit,
Try the following code in back end
table1:
CrossTable(Deduction, Data)
LOAD LinkDate,
[Deduction for EGCV],
[Deduction for Cost of Coal],
[Deduction for Unloading Charge],
[Deduction for Imported Coal],
[Mega Deduction]
FROM
(ooxml, embedded labels, table is Sheet1);
and in front end add "LinkDate" as dimension and add the following expression in pie chart object:
sum(Data)