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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
rougeherring
Contributor III
Contributor III

Measure within Line Graph to show each of the top 5 performers trend over time

I'd like to create a line graph with 5 measures, one for each of the current top sales people. 

Number 1,2,3,4 and 5 performing salesperson sum([Sales])

based on [Current Report Flag] = {1}, [Product] = {"$(vProductSelected)"} , [Marketname] =  {"$(vMarketSelected)"}

My Rank set analysis is not working.

Labels (1)
1 Reply
rougeherring
Contributor III
Contributor III
Author

The code that is not working is (Example for the #3 position)

=SUM({<[Salesperson]= {"=Rank(

Sum({$<[Marketname] = {"$(vMarketSelected)"},[Product] = {"$(vProductSelected)"},[Current Report Flag]={1}>}[Sales])

)=3"}, [Marketname] = {"$(vMarketSelected)"},[Product] = {"$(vProductSelected)"}

>} [Dollar Sales Share])