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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Ilka719
Frequent Visitor

Split by sum in Power bi

Hi!

How could I make so many duplicate rows if I have an amount in one row and that amount goes to 1?

Thanks in advance!

Ilka719_0-1692688791244.png

 

 

1 ACCEPTED SOLUTION
mlsx4
Memorable Member
Memorable Member

Hi @Ilka719 

 

In Power Query, add a custom column with this code: 

 

Table.Repeat(Table.FromRecords({[Col1=1]}),[Amount])

 

mlsx4_0-1692690610897.png

And now, expand values:

mlsx4_1-1692690645870.png

mlsx4_2-1692690672456.png

 

Finally, remove the original amount column, and rename the custom as Amount

mlsx4_4-1692690750452.png

 

 

View solution in original post

2 REPLIES 2
mlsx4
Memorable Member
Memorable Member

Hi @Ilka719 

 

In Power Query, add a custom column with this code: 

 

Table.Repeat(Table.FromRecords({[Col1=1]}),[Amount])

 

mlsx4_0-1692690610897.png

And now, expand values:

mlsx4_1-1692690645870.png

mlsx4_2-1692690672456.png

 

Finally, remove the original amount column, and rename the custom as Amount

mlsx4_4-1692690750452.png

 

 

Ilka719
Frequent Visitor

Great! Thank you!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

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