Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
HELLO,
I have a table which have product name and sales.
Requirements is- In a chart show the sum of sales product wise. Where the product's sum of sales between 10,000 and 20,000.
Plz help me to write setanalysis.
Thanks in advance.
Hi,
try like this
Fact:
LOAD * INLINE [
Product, Sales
A, 3000
B, 6000
C, 10000
D, 15000
E, 20000
F, 25000
];
create measure using set analysis
sum( {$<Sales= {">=10000<=20000"}>}Sales)
May be like:
=Sum({<Product={"=Sum(Sales)>=10000 and Sum(Sales)<20000"}>}Sales)
Thank you all.
Hi,
Help us to close this thread by marking as correct.it might useful for others who is having similar issue. thanks
I am new in qlikview. can you tell me how to close thread or check as current answer.