Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
kakani87
Specialist
Specialist

Customers With out Sale

Dear Folks,

I'm having data for  Sman's ,customer wise sale who is having 7 customers for Sman_code 001 and 4 for Sman 013

Now my requirement is to display the customer wise sale for Sman's  along with no sale customers for that months

For reference purpose in the month of August sale happened with 3 customers as displayed but Sman 013 has 4 customers where no sale happened with one customer as shown below in  table1 when filtered Month wise

Now I want to Display the 4th customer as well with sale as '0' to analyse Sman wise customer performasnce like that based on the month selection i want to display all the customers with both sale and no sale

Table1.


Month
Aug
Sep
Oct
Nov
Dec
Sman
001
013

SmanCustomersale
013DA22020103
013DAA0210789
013DAA205916

Expected Output

Table 2:

SmanCustomersale
013DA22020103
013DAA0210789
013DAA205916
013DAB200

 

stalwar1

tresesco

tamilarasu

mrkachhiaimp

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Try:

sum(sales_total)*avg({<CalendarMonthAndYear>}1)

Capture.JPG

View solution in original post

2 Replies
tresesco
MVP
MVP

Try:

sum(sales_total)*avg({<CalendarMonthAndYear>}1)

Capture.JPG

sunny_talwar

Another option

Sum(sales_total) + Sum({1<sman_code = p(sman_code)>} 0)


Capture.PNG