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: 
Not applicable

Actual Column / Budget Column / Variance Column

In the attached example I have a column "Expense Type" which has actual and budget.  I am trying to have a column with the actual expenses, then a column with budget expenses and a final variance column.  Any suggestions?

Labels (1)
1 Solution

Accepted Solutions
johnw
Champion III
Champion III

Perhaps this:

Actual = sum({<"Expenses Type"={'Actual'}>} "Expenses Amount")
Budget = sum({<"Expenses Type"={'Budget'}>} "Expenses Amount")
Variance = Actual - Budget

View solution in original post

2 Replies
johnw
Champion III
Champion III

Perhaps this:

Actual = sum({<"Expenses Type"={'Actual'}>} "Expenses Amount")
Budget = sum({<"Expenses Type"={'Budget'}>} "Expenses Amount")
Variance = Actual - Budget

Not applicable
Author

Thank you very much!