Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
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 |
---|---|
10 | |
10 | |
10 | |
9 | |
7 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
11 |