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
Hi PBI friends! Looking for some help on how to convert a chunk of python code into M given that i cannot run python scripts in our PROD environments.
You are starting with one row and want to end up with 11?
This will be based on adding a custom column in the form {[columnA]..[columnB]} which gives a list which can be expanded to new rows.
You can round your column using Number.RoundDown or Number.RoundUp
I think you'll need to define your rules and work out test cases because in the example starting at 0 and going to 11 will give you 12 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 | |
| 7 | |
| 7 | |
| 4 | |
| 3 |