Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
@mcaraballo Can you help me to create rank
Note: OccupiedRent and DateDiff are the measures
Below is the sample data
NAME | OccupiedRent | DateDiff |
ATL00001 - Davina Roberts - LE2 | 2550 | |
ATL00089 - Marion Houston - LE1 | 2050 | |
ATL00089 - Marion Houston - LE1 | 2250 | 0 |
ATL00096 - Nicholas M. Guerra - LE1 | 1900 | |
ATL00096 - Nicholas M. Guerra - LE1 | 2100 | 0 |
Expected Output:
NAME | OccupiedRent | DateDiff | Rank |
ATL00001 - Davina Roberts - LE2 | 2550 | 1 | |
ATL00089 - Marion Houston - LE1 | 2250 | 0 | 1 |
ATL00089 - Marion Houston - LE1 | 2050 | 2 | |
ATL00096 - Nicholas M. Guerra - LE1 | 2100 | 0 | 1 |
ATL00096 - Nicholas M. Guerra - LE1 | 1900 | 2 |
Hi @TriveniN , hope you are doing well.
I created a table with the sample data and then I created this column:
Please try this.
Regards,
Mariano.
Please, visit this idea and vote it if you like it ! Ability to show/hide any object based on a conditi... - Microsoft Fabric Community
DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO!
pls try this
@Ahmedx : Thanks for quick response
getting an error when we create above column
Can you help me out to resolve issue
error details is circualr dependency was detected
Expected Output should be below
NAME | OccupiedRent | DateDiff | Rank |
ATL00001 - Davina Roberts - LE2 | 2550 | 1 | |
ATL00089 - Marion Houston - LE1 | 2250 | 0 | 1 |
ATL00089 - Marion Houston - LE1 | 2050 | 2 | |
ATL00096 - Nicholas M. Guerra - LE1 | 2100 | 0 | 1 |
ATL00096 - Nicholas M. Guerra - LE1 | 1900 | 2 |
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
48 | |
47 |