Discussion Board for collaboration on QlikView Layout & Visualizations.
I have a requirement to show minimum month data by customer. I tried set analysis to do this but its not working as expected. Could anyone please help me on this issue.
I greatly appreciate your help in advance
My original data set is
Set analysis i used to restrict the min month in expression is
output i am getting is
I have attached my qvw file as well.
Go to Solution.
Try something like
add CUSTID and Minimum Month as dimensions and write expression as
In this case, "MonthYear" should not be a dimension ; it is the result of an expression.
Why do you use MinString()'s function ? It is easier to play with date after you transformed them to "numbers".
Yes , that is correct i kept "MonthYear" as an expression like this to find min month by customer"
i cant put month year as dimension becasue i have to show total volume(for all months) also in another expression.
Thanks vivien for response,
If i use just min function its giving nothing in that expression. i agree with you ,minstring() is also worng because that it considering month as text.any ideal how to fix that issue
hai pls find the attachment
Set analysis is not the way to go here, you'll need to evaluate your min Date per CustID.
- Read your MonthYear in as date:
Date#(MonthYear,'MMM-YY') as Monthstart
- Create a chart with dimension CustID and two expressions:
=FirstSortedValue( Quantity, Monthstart)
See also attached.
Thank you, But in my actual requirement i need to put some product restrictions so i tried below set analysis but its not working