Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

RANKX within multiple groups

Hi all,

 

Quite new to Power BI/Power Query with most of my knowledge coming from experimentation and using these forums, so please take that into consideration when responding. My current issue is as follows:

 

I am using this in the context of commerical real estate and want to assign a rank to a particular deal's annual rent wihtin the deal year (2018, 2019, 2020, etc,) as well as by deal type (new, renewal, option and move out). Basically, ranking the new leases, renewals, options and move outs by annual rent by year.

 

I have tried using combinations of the RANKX and FILTER functions, but it never comes out the way I need. Can someone provide guidance on how to think about this problem conceptually, and possibly some solutions of how to get a workable solution?

 

Thanks in advance.

2 Replies