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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Ratier
Contributor III
Contributor III

Accumulated sum in a graphic HELP

I have a table and a Graphic in QlikSense somewhat like this one in Excel:

Ratier_0-1689968091106.png

 

I'd like to transform the graphic above into the below:

Ratier_1-1689968111454.png

 

I tried something like creating a new Dimension like the one below but I can't seem to find a way to associete my values to each month and the sum of them to the accumulated field. How can I do it?

 

=If(Month='Janeiro','Janeiro',
If(Month='Fevereiro','Fevereiro',
If(Month='Março','Março',
If(Month='Abril','Abril',
If(Month='Maio','Maio',
If(Month='Junho','Junho',
If(Month='Julho','Julho',
If(Month='Agosto','Agosto',
If(Month='Setembro','Setembro',
If(Month='Outubro','Outubro',
If(Month='Novembro','Novembro',
If(Month='Dezembro','Dezembro','Acumulado'))))))))))))

Labels (4)
1 Solution

Accepted Solutions
RafaelBarrios
Partner - Specialist
Partner - Specialist

Hi @Ratier 

the easy way

RafaelBarrios_0-1694037752063.png

https://help.qlik.com/en-US/sense/May2023/Subsystems/Hub/Content/Sense_Hub/Visualizations/Bar-Chart/...

 

 

the hard way, using setanalysis and rangesum statement

https://help.qlik.com/en-US/sense/May2023/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/RangeFunct...

 

help users find answers! Don't forget to mark a solution that worked for you & to smash the like button!  😁

View solution in original post

1 Reply
RafaelBarrios
Partner - Specialist
Partner - Specialist

Hi @Ratier 

the easy way

RafaelBarrios_0-1694037752063.png

https://help.qlik.com/en-US/sense/May2023/Subsystems/Hub/Content/Sense_Hub/Visualizations/Bar-Chart/...

 

 

the hard way, using setanalysis and rangesum statement

https://help.qlik.com/en-US/sense/May2023/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/RangeFunct...

 

help users find answers! Don't forget to mark a solution that worked for you & to smash the like button!  😁