Forum Discussion
Create a band between two colums
Hi
I have two colums as per below
I want to create a band
start_score
| end_score
|
I need to group them like this to show a users score
Score |
0-0 |
1-10 |
11-20 |
21-30 |
31-40 |
41-50 |
51-60 |
61-70 |
71-80 |
81-90 |
90-100 |
I can't get the group by to work properly,
Any suggestions ?
Hi Valnus ,
You can easily get this done in Power Query Editor in Power BI Desktop.
Consider the following input data:
Select both the columns in the data above --> right-click --> merge columns
Once you hit merge columns, a new window appears. Give the relevant details as shown below and hit Ok.
You will get the required details:
In case you want this as an additional column to you existing 2 columns --> then make sure to duplicate your both columns first and then follow all the steps.
1 Reply
- Pragati11
Super User
Hi Valnus ,
You can easily get this done in Power Query Editor in Power BI Desktop.
Consider the following input data:
Select both the columns in the data above --> right-click --> merge columns
Once you hit merge columns, a new window appears. Give the relevant details as shown below and hit Ok.
You will get the required details:
In case you want this as an additional column to you existing 2 columns --> then make sure to duplicate your both columns first and then follow all the steps.