Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Concatenar relativo e soma

Boa tarde

como faço para concatenar o relativo com a soma  pois preciso colocar o percentual junto com o valor

Obrigado.

Capturar.JPG

1 Solution

Accepted Solutions
Not applicable
Author

It worked, but i'm not getting do the same to the blue bars.

View solution in original post

7 Replies
maxgro
MVP
MVP

you can add another (third) expression with the dual function and uncheck the bar in display options

1.png

Not applicable
Author

Hi Max,

I understod. But if you to sum the % of the red bars, you will have 187%, when we need to have 100% to the red bars and another 100% to the blue bars in the sum.

maxgro
MVP
MVP

maybe with a total

DUAL(

  Num(Sum ({$<Year={$(=Max(Year)-1)}>} Sales ) / Sum (TOTAL {$<Year={$(=Max(Year)-1)}>} Sales ), '#,##0%')   & ' ' & Num(Sum ( {$<Year={$(=Max(Year)-1)}>} Sales ), '#,##0'),

  Sum ( {$<Year={$(=Max(Year)-1)}>} Sales )

  )

1.png

Not applicable
Author

It worked, but i'm not getting do the same to the blue bars.

Marcio_Campestrini
Specialist
Specialist

Bom dia Wellington

Você tentou marcar a expressão para aparecer somente como "Texto no eixo" (Text on Axis)?

Márcio Rodrigo Campestrini
nicolett_yuri

Quando você utiliza a função DUAL, você não pode formatar a expressão na aba Número. Precisa sempre deixar como padrão da expressão ou o resultado do DUAL não será exibido.

Marcio_Campestrini
Specialist
Specialist

Boa tarde Wellington

Conseguiu resolver o seu problema? Se sim, por gentileza marque a resposta correta para nos ajudar a manter a comunidade organizada.

Márcio Rodrigo Campestrini