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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
wholelottared
Contributor III
Contributor III

SumIf Expression Help?

Hi all,

Trying to create a stack chart with a SumIF. Goal is to create a stacked bar chart and visualize Enacted vs Final Budget.

Formula for one stack 1:  if([Enacted or Final]='Enacted',sum([FY19 Enacted Budget]))/1000000

Formula for the stack 2:  if([Enacted or Final]='Final Budget',sum([FY19 Enacted Budget]))/1000000

 

Any help would be greatly appreciated.

1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

use set analysis

Formula for one stack 1:  sum({<[Enacted or Final]={'Enacted'}>}[FY19 Enacted Budget])/1000000

Formula for the stack 2:   sum({<[Enacted or Final]={'Final Budget'}>}[FY19 Enacted Budget])/1000000

View solution in original post

1 Reply
dplr-rn
Partner - Master III
Partner - Master III

use set analysis

Formula for one stack 1:  sum({<[Enacted or Final]={'Enacted'}>}[FY19 Enacted Budget])/1000000

Formula for the stack 2:   sum({<[Enacted or Final]={'Final Budget'}>}[FY19 Enacted Budget])/1000000