Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
sonysree88
Creator II
Creator II

write the script to derive output from input table

write the script to derive output from input table

Labels (1)
1 Solution

Accepted Solutions
madhu_r
Partner - Contributor III
Partner - Contributor III

Hi,

Try this.

In dimension give Category and in measure give Max(Sales).

 

View solution in original post

3 Replies
madhu_r
Partner - Contributor III
Partner - Contributor III

Hi,

Try this.

In dimension give Category and in measure give Max(Sales).

 

its_anandrjs

Hi,

Where you need this output

1. In Load script 

2. Front end

 

Regards,

Anand

its_anandrjs

On load script you can try this

DBSource:
LOAD * Inline
[
Product,Category,Sales
1,x,4000
2,x,5000
3,y,2000
4,y,4300

];

MaxSales:

LOAD
Category,
Max(Sales) as MaxSale
Resident DBSource
Group By Category;

 

Regards

Anand