Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
qlikviewaf
Creator
Creator

limit graph

Hi ,

i created 2 graph, worst and top 5 customer.

Basically is the delta between sales 2017 and sales 2016.

On both graph i would like to show only positive value and have nothing if a negative value is caluclated.

HOw this can be achieved?

Thank you

graph.PNG

1 Reply
Anil_Babu_Samineni

Perhaps these?

Worst 5 customers

Sum({<Customer = {"=Rank(-Sum(Sales))<=5"}, Sales = {"=Sum(Sales)>0"}>} Sales)

Top 5 customers

Sum({<Customer = {"=Rank(Sum(Sales))<=5"}, Sales = {"=Sum(Sales)>0"}>} Sales)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful