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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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 (2)
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
Champion III
Champion III

Hi,

Where you need this output

1. In Load script 

2. Front end

 

Regards,

Anand

its_anandrjs
Champion III
Champion III

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