Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
We have data for which hierarchy is defined within it and we need to categorised the data based on the range.
So for example,
100000-299999 is the main hierarchy in it we have 120000-129999, furthermore we have 120200-120299 as the inner category.
100000
120000
120200
.
.
120299
129999
299999
This is how roughly we can describe the structure.
So, we want a column that defines the structure, If we are having 120200-120299 as A, so 120000-129999 should be A(A) and further ahead 100000-299999 should be A(A(A))). Something to that effect,Yellow hiughlighted should be categorised under L&B while the Pink highlighted should be under P&M and so on
Based on the numbers and colours highlighted I want to create a column of category that says which category these numbers belong to depending on the levels.
Your color assignments do not follow any discernable logic. You will need to use a manual mapping table.
ok. what is your question? What have you tried and where are you stuck?
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 11 | |
| 5 | |
| 4 | |
| 3 |