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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.