Forum Discussion
jmmariscal
4 years agoFrequent Visitor
Decomposing a number
Hi, I would like to decompose a number to get part of it using DAX. These are some examples of what I want to get: Number: 42.330-->I want to get 330 (this is 42330-42000) Number: 54320--> I...
- 4 years ago
Anonymous
4 years agoNot applicable
Hi jmmariscal ,
You can create a calculated column as below to get it:
Column = 'Table'[Number] - 1000 * LEFT ( DIVIDE ( 'Table'[Number], 1000, 0 ), 2 )
Best Regards