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
LA_Enjoy
Regular Visitor

How to sum numbers in the row as many as the numbers in a column

Hi my friends,

 

Please help me,

I want to add column in tabel.

How to sum numbers in the row as many as the numbers in a column.

Here is the data sample and my expected result in last column.

I want to sum up item 1 until item 10 as many as 8 in row 1

 

Passage_itemItem 1Item 2Item 3Item 4Item 5Item 6Item 7Item 8Item 9Item 10Result
810101101015
911011011016
911111111119
1010101010116
1011001101117

 

Thanks for Help

1 ACCEPTED SOLUTION

@LA_Enjoy 
Please refer to attached sample file for all the details. The solution invoves many steps but all are simple.

1.png2.png3.png4.png5.png6.png7.png

View solution in original post

5 REPLIES 5
tamerj1
Super User
Super User

Hi @LA_Enjoy 

how does the source data table look like?

Hello @tamerj1,

 

Source data look like this picture

LA_Enjoy_0-1684036765259.png

 

@LA_Enjoy 
Please refer to attached sample file for all the details. The solution invoves many steps but all are simple.

1.png2.png3.png4.png5.png6.png7.png

Thanks man

LA_Enjoy
Regular Visitor

I used this formula in excel

=SUMIF($B$1:$K$1;"<="&$A2;$B2:$K2)

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.