Reputation: 15
I'm using Power Bi and need a DAX formula to do the following:
Column A contains the following data:
1234
5678
9101
I need Column B to sum each individual digit in a particular cell:
Column B
1+2+3+4 =10
5+6+7+8 = 26
9+1+0+1 = 11
What is a formula I can use to do this?
Upvotes: 1
Views: 263
Reputation: 210
One way to get the output is to split the required column so that new resulting column has a digit which can further be summed up in a calculated column.
To Split the column follow the below steps:
Upvotes: 2