Forum Discussion

JeanMariePBI's avatar
JeanMariePBI
Helper I
4 years ago
Solved

RankX using filter within column

Hello, I am relatively new to PBI.  I'm trying to add a measured column that will rank price points from highest to lowest within each product listed in the product Column.  The "Price Ranking"is the measure that I want to achieve:  I've tried ranking using a filter and variable but my dax logic continually has errors.   Any help is appreciated.  Thanks!

 
 
Product PricePrice Ranking
A-10225.01               1
A-10151.89               2
A-10129               3
A-10121.23               4
A-10120.27               5
A-10118.06               6
A-100202.97               1
A-100154.52               2
A-10067.47               3
A-150184.09               1
A-150133.61               2

 

 

4 Replies