Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register 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.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
84 | |
75 | |
68 | |
41 | |
35 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |