Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Announcements
Save the Date: QlikWorld Online, June 24-25, 2020. Free global virtual event for data integration and data analytic gurus. Register Today
New Contributor

Need Help in Qlikview Aggregate function?

Hi,

Can someone help me to solve this.

I have included the details in the attached qvw file.

I need to calculate number of weeks each style_color_code is sold.

Units Field - number of units sold, if units is -1, 1 unit is returned. no need to consider returns.

Regards

Sujay Babu@

Tags (1)
1 Solution

Accepted Solutions
Highlighted
Valued Contributor

Re: Need Help in Qlikview Aggregate function?

Hi,

Sum(Aggr(Count ( DISTINCT{<Units={'>=1'}>}Merch_Year_Week),Style_Color_Code,Merch_Year_Week))

expres.png

View solution in original post

2 Replies
Highlighted
Valued Contributor

Re: Need Help in Qlikview Aggregate function?

Hi,

Sum(Aggr(Count ( DISTINCT{<Units={'>=1'}>}Merch_Year_Week),Style_Color_Code,Merch_Year_Week))

expres.png

View solution in original post

Highlighted
New Contributor

Re: Need Help in Qlikview Aggregate function?

Thank You, It worked.

Regards

Sujay