# QlikView Creating Analytics

Discussion Board for collaboration related to Creating Analytics for QlikView.

Not applicable

## Sorry but i lost that Jhon Locke in the island !!!

Helo and sorry but i cant write a expression with a calculated dimension and unknow the sintax,i intent with various sintax and nothing.

The dimension calculated is

= if(Año = 2012,'Actual','Anterior')

and i need sum a value of ventas based in the dimension

for example i write

sum({<año=>} ventas) and work but and that is the question

How i write the expression with the calculated dimension in the place of <año> ???