Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I'm trying to create a column which contains all values between to numbers.
Example.
Start Number End Number Range
1 4 1:2:3:4
2 4 2:3:4
3 4 3:4
4 4 4 Any ideas on how I can achieve this?
I would've used some form of iteration however I don't believe Power Bi has this functionality yet.
Thanks,
J
Solved! Go to Solution.
Piece of cake for Power Query:
let
Source = Table1,
#"Added Custom" = Table.AddColumn(Source, "Range", each Text.Combine(List.Transform({[Start Number]..[End Number]},Text.From),":"))
in
#"Added Custom"
Piece of cake for Power Query:
let
Source = Table1,
#"Added Custom" = Table.AddColumn(Source, "Range", each Text.Combine(List.Transform({[Start Number]..[End Number]},Text.From),":"))
in
#"Added Custom"
While using this Mquery, I am getting error"
I am using an excel Data source:
I want to create numbers between Start Number and End Number but i am getting error" Expression.Error: The field 'Start Number' of the record wasn't found."
My Mcode is:
While using this Mquery, I am getting error"
I am using an excel Data source:
I want to create numbers between Start Number and End Number but i am getting error" Expression.Error: The field 'Start Number' of the record wasn't found."
My Mcode is:
Please help me on this.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 57 | |
| 43 | |
| 40 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 183 | |
| 114 | |
| 93 | |
| 61 | |
| 45 |