Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Best Lead Provider

Hi Guyys , I m New in qlikview.. i m doing learning Qlikview.. i have a question kinldy help me..

i have to column.. i want to Know Who is the Lead Provider.. and I want to show a Answer in text..so how can i do..

i m able to find with Chart.. Using LeadProviderId as Dimension and Count(LeadId) as Expression.. but how to show in Text..

kinldy help me

1 Solution

Accepted Solutions
awhitfield
Partner - Champion
Partner - Champion

Hi again,

see the attached

Andy

View solution in original post

10 Replies
awhitfield
Partner - Champion
Partner - Champion

Hi Brijesh,

if you are using a straight chart for example, Properties > Dimension Limits > set  as shown below:

HTH Andy

Not applicable
Author

but i want to show a Answer in Text

BEST Lead Provider ---- Text Caption

LP005 --- Text Value

anbu1984
Master III
Master III

Try this expr in Text box

=FirstSortedValue(LeadProvider_Id,-Aggr(Count(Lead_Id),LeadProvider_Id))

sushil353
Master II
Master II

Hi,

Create a Text Box

and write the expression = LeadProviderId

When u select the LeadId then you will get LeadProviderId in Text box

HTH

sushil

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Put this in a text box. Let me know what happens.

='BEST Lead Provider' & chr(10) & IF (aggr(Rank(Count(LeadId)), LeadProviderId) = 1, LeadProviderId)

awhitfield
Partner - Champion
Partner - Champion

Hi again,

see the attached

Andy

anbu1984
Master III
Master III

=MaxString( IF (aggr(Rank(Count(Lead_Id)), LeadProvider_Id) = 1, LeadProvider_Id))

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Right, or even better:

=Concat( IF (aggr(Rank(Count(Lead_Id)), LeadProvider_Id) = 1, LeadProvider_Id)), ',')


If there are multiple gold medalists (a tie), we should show all of them.

Not applicable
Author

Thanks Andrew..Thanks for Ur Support