Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Olá! Como separo os top 20 médicos que mais "gastaram" na clínica?

Como separo no Qlikview os top 20 médicos que mais "gastaram" na clínica?

Tenho 2 tabelas e as únicas colunas em comum são "NumAtendimento" e "IdAtendimento", conforme figura abaixo.

figura.JPG

Labels (1)
1 Solution

Accepted Solutions
Thiago_Justen_

Talvez isso te ajude:

Como dimensão da tabela: Nome do Medico Solicitante (não sei como está esse campo no seu modelo)

Como expressão:

Sum({<CrmMedicoSolicitante={"=Rank(Sum(TotalPago))<=20"}>}TotalPago)

Abs e Sucesso!!

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago

View solution in original post

3 Replies
Thiago_Justen_

Talvez isso te ajude:

Como dimensão da tabela: Nome do Medico Solicitante (não sei como está esse campo no seu modelo)

Como expressão:

Sum({<CrmMedicoSolicitante={"=Rank(Sum(TotalPago))<=20"}>}TotalPago)

Abs e Sucesso!!

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago
Anonymous
Not applicable
Author

Olá Thiago!

Muito obrigado, funcionou muito bem.

Thiago_Justen_

Sempre à disposição!

Thiago Justen Teixeira Gonçalves
Farol BI
WhatsApp: 24 98152-1675
Skype: justen.thiago