Qlik Community

QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

New Contributor II

Calculated Dimension help

Hello All,

I don’t have access to my qvw script however, I am trying to create a calculated dimension that uses a flag (Y/N) to determine a qualifying category based off the Customer. I want to be able to look at the customer in a table and use the Qualifying Category to sum revenue. Here how I want the qualifying catergory to look like.






I am able to use an if statement for the first true condition if(Flag=’Y’,Category, but trying to get the match based off of the customer is where I am having issues. Thank you

1 Reply
Honored Contributor

Calculated Dimension help

you could use aggr to create your dimension:

=aggr(  if( Flag='Y', Category) , Customer, Flag))

but I didn't get the pattern to generate the Qual_Category. If you explain, we can try to write the condition..

Hope this helps for now...


Community Browser