March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi everyone, I'd like to receive some assistance please
Background
I have a column of Occupation data that contains various reported responses.
New column created
So far, I have created a new column that counts the number of times each reported response occurs in the 'Occupation' column.
I would like to create a new column (or a new measure) that calculates the rank (based on the count of the number of times that each reported response occurs in the 'Occupation' column) - however it has to exclude the following reported responses:
What I have created so far
I have currently created a new column called Rank_Count_Occupation that calculates the rank, however it does not exclude the 2 responses mentioned above.
Ranking | Occupation | Number of arrivals |
1 | Not Stated | 4891 |
2 | Non Working Child | 4522 |
3 | Not Previously Employed | 4114 |
4 | Occupation Unknown | 3526 |
5 | Home Duties | 1846 |
Ranking | Occupation | Number of arrivals |
Not Stated | 4891 | |
1 | Non Working Child | 4522 |
Not Previously Employed | 4114 | |
2 | Occupation Unknown | 3526 |
3 | Home Duties | 1846 |
Solved! Go to Solution.
Hi,
This measure works
Measure 1 = RANK(DENSE,FILTER(ALL('ALL Arrivals data'[Grouping_Occupation]),'ALL Arrivals data'[Grouping_Occupation]<>"Not stated"&&'ALL Arrivals data'[Grouping_Occupation]<>"Not previously employed"),orderby([Count_Occupation_],DESC))
Hope this helps.
Hi,
Share the download link of the PBI file.
Hi,
This measure works
Measure 1 = RANK(DENSE,FILTER(ALL('ALL Arrivals data'[Grouping_Occupation]),'ALL Arrivals data'[Grouping_Occupation]<>"Not stated"&&'ALL Arrivals data'[Grouping_Occupation]<>"Not previously employed"),orderby([Count_Occupation_],DESC))
Hope this helps.
Thank you so much for your help - your measure did the job nicely 🙂
You are welcome.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
119 | |
88 | |
73 | |
67 | |
49 |
User | Count |
---|---|
199 | |
141 | |
97 | |
79 | |
68 |