added code for DAX index