cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
v-xjiin-msft Super Contributor
Super Contributor

Re: Count price position in PowerBI

Hi @Hidde,

 

To achieve your requirement, you can try this calculated column:

 

Price Ranking =
RANKX (
    FILTER ( 'Rank', 'Rank'[Product] = EARLIER ( 'Rank'[Product] ) ),
    'Rank'[Price],
    ,
    ASC
)

1.PNG

 

Thanks,
Xi Jin.

View solution in original post

Hidde Frequent Visitor
Frequent Visitor

Re: Count price position in PowerBI

This works perfectly, thanks! What does the EARLIER function do in this context?

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (3,293)