Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
priyarane
Specialist
Specialist

Aggr

Hi Community,

Can I have alternate calculated dimension with aggr or with any other function as I am not getting all IRB_Band values

aggr(aggr(only({<%Month = {'$(=$(=vCurrMonth))'},%Year = {'$(=$(=vCurrYear))'},CURRENCY = {'$(=$(vCurr))'}>}IRB_Band),IRB_Band),INVOLVED_PARTY_ID)

2 Replies
jonathandienst
Partner - Champion III
Partner - Champion III

If you need a calculated dimension for IRB_Band, then this should be enough:

aggr(only({<%Month = {'$(=$(=vCurrMonth))'},%Year = {'$(=$(=vCurrYear))'},CURRENCY = {'$(=$(vCurr))'}>}IRB_Band),IRB_Band)


or better:

aggr(only({<%Month = {'$(vCurrMonth)'},%Year = {'$(vCurrYear)'},CURRENCY = {'$(vCurr)'}>} IRB_Band), IRB_Band)


I am not sure why you believe that a nested Aggr() is required. Perhaps you could provide a lot more information about your data model, or better still a sample illustrating the problem.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
sunny_talwar

What do you mean alternate calculated dimension? Are you wanting to use alternate state? May be move the whole chart to another state if that's what you are looking for.