Forum Discussion

Pk8524's avatar
Pk8524
Helper I
9 months ago
Solved

Visual Level Calculations with RANK

I am trying to make a ranking using visual level calculation:

I would like to use visual level calculations and have properly calculated rank for products in certain country: meaning ranking should reset for each country and start from 1, 2, 3 etc. Is it possible to achieve?

 

Secondly would like to have a parameter which will be showing all products with rank <= parameter.

 

I know i can achieve this with dax and measures - but wonder if this solution with visual level calculations i could scale to a bigger projects and improve performance.

 

Testing file:

https://drive.google.com/file/d/1_6YkUkjpuEDlVF_2z87XT-E6JUVrODj-/view?usp=sharing 

5 Replies