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
how to create Custom column based on same column values using between operator ??
example:i have a column with values range from 0 to 10..i wanted to create custom column based on the condition.(ie).0-5 as custom column and 5 -10 as other custom column..
Solved! Go to Solution.
If I understand this right you may be overthinking this.
Just a simple if statement would do.
You may have to change this a bit but here it is depending on where you want the 5 included
Custom Column = IF ( Table[Column] < 6, "0-5", "6-10" )
Good Luck! ![]()
I would do a conditional column in query editor based on the logic above. If less than or equal to 6 then... etc.
I would do a conditional column in query editor based on the logic above. If less than or equal to 6 then... etc.
Yes that works too! In fact that’s what I would do too! ![]()
If I understand this right you may be overthinking this.
Just a simple if statement would do.
You may have to change this a bit but here it is depending on where you want the 5 included
Custom Column = IF ( Table[Column] < 6, "0-5", "6-10" )
Good Luck! ![]()
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 |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 40 | |
| 30 | |
| 24 |