Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello,
I am trying to implement this logic but couldn't make it so far. This is as follows:
I have a table like this:
| ID | From | To |
| 11 | 0 | 2 |
| 22 | 1 | 3 |
I would like to break it down into 1 increment so:
| ID | Num |
| 11 | 0 |
| 11 | 1 |
| 11 | 2 |
| 22 | 1 |
| 22 | 2 |
| 22 | 3 |
Please advice!
Thanks
Solved! Go to Solution.
Hi @Anonymous ,
Please select “Custom Column” in Power Query, and enter the following formula.
You will get a new column as below.
Click on the upper right corner and select “Expand to New Rows”.
Then you can get result you want.
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Please select “Custom Column” in Power Query, and enter the following formula.
You will get a new column as below.
Click on the upper right corner and select “Expand to New Rows”.
Then you can get result you want.
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can add a custom column in Power Query like
{[From]..[To]}
then Expand it to New Rows
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 17 | |
| 8 | |
| 8 | |
| 7 |