Forum Discussion
user1462
3 years agoFrequent Visitor
Handling very small numbers
Hi everyone! I'm having a problem with the very small numbers in my data; and the measures I created with them look like this; I'm trying to get rid of this scientific notation, and ...
- 3 years ago
Hi user1462 ,
Based on your description, I have created a simple sample:
Please try:
Measure = var _a = FORMAT(SUMX('Table',[Column1]),"Scientific") var _b = FIND("-",_a) var _c = VALUE(RIGHT(_a,LEN(_a)-_b)) var _d = FORMAT(SUMX('Table',[Column1]),"General Number") return RIGHT(_d,LEN(_d)-_c-1)Final output:
Note: the final output is not a number , it is text type, if you want number type, you need to use value() function.
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
PurpleGate
Resolver III
3 years agoTo decrease the number of zeros you would have to multiply the number by 10,000 for example.
To not have to use currency, you could just use Decimal number?
It's in parenthesis because it is a negative number. To remove a negative value you can multiply by -1
Or in your DAX formula you can add
format('value',"0.000")
chizuml_ds
3 years agoFrequent Visitor
Makes no sense