Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
maycolbrandao
Contributor
Contributor

Arrows Variations

Good morning people Does anyone know if Qlik Sense makes it possible to create variation indicative arrows like the one shown below in Qlik View?


setas de variação.PNG

1 Solution

Accepted Solutions
mikaelsc
Specialist
Specialist

dual(


num(Sum({<ANO={"$(=max(ANO))"}>}[MOVIMENTAÇÃO])/1000000,'#.##0M') & ' (' & num(Sum({<ANO={"$(=max(ANO))"}>}[MOVIMENTAÇÃO])/Sum({<ANO={"$(=max(ANO-1))"}>}[MOVIMENTAÇÃO]) -1,'+#.##0,00%;-#.##0,00%') & ' ' &

if(Sum({<ANO={"$(=max(ANO))"}>}[MOVIMENTAÇÃO])/Sum({<ANO={"$(=max(ANO-1))"}>}[MOVIMENTAÇÃO]) -1>0,chr(9660),chr(9650)) & ')',


Sum({<ANO={"$(=max(ANO))"}>}[MOVIMENTAÇÃO]))

View solution in original post

5 Replies
mikaelsc
Specialist
Specialist

use a dual() value as a measure (containing your chr() + measure you want in text, and the measure of your chart as numeric value)

then in the number format, select "measure expression"

maycolbrandao
Contributor
Contributor
Author

mikaelsc‌ thanks!


Can you demonstrate?


I took an example

mikaelsc
Specialist
Specialist

demonstrate?

this is my expression :

dual(hash128(RoomName) & ' ' & sum([_Op_Counter])  & chr(9660) & ' ' & chr(9650)  & sum([_Session]),Sum([_Op_Counter]))

Operations1.PNG

mikaelsc
Specialist
Specialist

PORTOS.PNG

mikaelsc
Specialist
Specialist

dual(


num(Sum({<ANO={"$(=max(ANO))"}>}[MOVIMENTAÇÃO])/1000000,'#.##0M') & ' (' & num(Sum({<ANO={"$(=max(ANO))"}>}[MOVIMENTAÇÃO])/Sum({<ANO={"$(=max(ANO-1))"}>}[MOVIMENTAÇÃO]) -1,'+#.##0,00%;-#.##0,00%') & ' ' &

if(Sum({<ANO={"$(=max(ANO))"}>}[MOVIMENTAÇÃO])/Sum({<ANO={"$(=max(ANO-1))"}>}[MOVIMENTAÇÃO]) -1>0,chr(9660),chr(9650)) & ')',


Sum({<ANO={"$(=max(ANO))"}>}[MOVIMENTAÇÃO]))