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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
anthony_kinsell
Creator
Creator

Set Analysis Query 2

Hi,

I'm trying to get the total for my 'DevBudgetAmount' field for the "Rolling" budget scenario no matter what date selection is made - I've tried the below but it's not correct - can anyone point me in teh right direction?

sum({1}{$<Scenario={"Rolling"}>}DevBudgetAmount*-1)

1 Solution

Accepted Solutions
jerem1234
Specialist II
Specialist II

Maybe:

sum({1<Scenario={"Rolling"}>}DevBudgetAmount*-1)


If this doesn't work, can you explain why it isn't working, what the behavior is when you use this?


Even better, post a sample app demonstrating the problem so people may help you faster.


Hope this helps!

View solution in original post

6 Replies
jerem1234
Specialist II
Specialist II

Maybe:

sum({<Scenario={"Rolling"}, Date=>}DevBudgetAmount*-1)

where Date is your Date field.

chiru_thota
Specialist
Specialist

sum({<Scenario={"Rolling"}>} TOTAL <Dimension1,Dimension2>DevBudgetAmount*-1)


Don't mention Date column in TOTAL <>.

This will sum up the data irrespective of Date.

anthony_kinsell
Creator
Creator
Author

This sums the data but doesn't take into account different dimensions

anthony_kinsell
Creator
Creator
Author

Anyone else got a suggestion?

jerem1234
Specialist II
Specialist II

Maybe:

sum({1<Scenario={"Rolling"}>}DevBudgetAmount*-1)


If this doesn't work, can you explain why it isn't working, what the behavior is when you use this?


Even better, post a sample app demonstrating the problem so people may help you faster.


Hope this helps!

anthony_kinsell
Creator
Creator
Author

That's is

Thank you