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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis

Hi,

I'm starting with set analysis.

I did a formula  = Sum ({<[Fiscal Year-Month]={"2012/05"}>}[Commit Demand])/1000

It's working.

I try to replace {"2012/05"} by a field and it's not working.

= Sum ({<[Fiscal Year-Month]=[Current Fiscal Year-Month]>}[Commit Demand])/1000

= Sum ({<[Fiscal Year-Month]={[Current Fiscal Year-Month]}>}[Commit Demand])/1000

Someone can help me?

Thanks.

Eva

1 Solution

Accepted Solutions
Not applicable
Author

= Sum({<[Fiscal Year-Month]= {"$(=Only([Current Fiscal Year-Month]))"} >}[Commit Demand])/1000

View solution in original post

6 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

Hi Eva,

Try:

= Sum ({<[Fiscal Year-Month]={$(=Only([Current Fiscal Year-Month])}>}[Commit Demand])/1000

Hope this helps,

Jason

Not applicable
Author

Hi Jason,

Thanks for your answer, Unfortunately, It's not working neither :'(

It tried your formula

= Sum ({<[Fiscal Year-Month]={$(=Only([Current Fiscal Year-Month])}>}[Commit Demand])/1000

tihs one :

= Sum ({<[Fiscal Year-Month]={$(=Only([Current Fiscal Year-Month]))}>}[Commit Demand])/1000

and

=Only([Current Fiscal Year-Month]) give the right value.

Not applicable
Author

= Sum({<[Fiscal Year-Month]= {"$(=Only([Current Fiscal Year-Month]))"} >}[Commit Demand])/1000

Jason_Michaelides
Partner - Master II
Partner - Master II

Isn't that the same as the answer I gave you?

Not applicable
Author

I jsut added from yours

Sum({<[Fiscal Year-Month]= {"$(=Only([Current Fiscal Year-Month]))"} >}[Commit Demand])/1000

Jason_Michaelides
Partner - Master II
Partner - Master II

Ah.