Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
how to find the total sales of the customers who had purchased a product='xyz' inh year 2013?
The P() expression will return all sales for customers with any sale that meets the criteria. The simple set expression returns sales transactions that meet the criteria. Not quite the same thing.
Something like
Sum({<Customers = P({<Product = {'xyz'}, Year = {2013}>} Customers)>} Sales)
Hi Arvind,
The better place to ask this question is under "New to Qlik Sense".
Sum({<Customers = p({<Year = {"2013"},Product = {"XYZ"}>})>}Sales)
All you have to do is create a table with Customer as dimension and above expression.
Regards,
Kaushik Solanki
yes but i want that using a p() function
The P() expression will return all sales for customers with any sale that meets the criteria. The simple set expression returns sales transactions that meet the criteria. Not quite the same thing.