Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply

Column value to rows

I would like to create a table with a count up to the column value.

So from this

IDPeriod
14324
23422

 

To this

IDPeriod
14320
14321
14322
14323
14324
23420
23421
23422




1 ACCEPTED SOLUTION
serpiva64
Solution Sage
Solution Sage

Hi,

you can add a custom column

{Number.From(0)..Number.From([Period])}

serpiva64_0-1666170879330.png

then Expand to new rows

serpiva64_1-1666170959770.png

and that's done

serpiva64_2-1666171023968.png

 

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

 

 

View solution in original post

1 REPLY 1
serpiva64
Solution Sage
Solution Sage

Hi,

you can add a custom column

{Number.From(0)..Number.From([Period])}

serpiva64_0-1666170879330.png

then Expand to new rows

serpiva64_1-1666170959770.png

and that's done

serpiva64_2-1666171023968.png

 

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors