Forum Discussion
Numerical formats
This is not working!! The result is still Integer!!
I can change the format to each one of this but it is only applied to the integer value for example 1, 1,00, 100%, 100.00% ... etc. The problem is in the Dax code that did the approximation!!
I have these values for the different counts of two columns: 1024 & 860.
so 860/1024=0.839
I got 1 & not 0.839. I hope it is now clear.
Hi Anonymous ,
Not sure why are you getting 1. This is what I get.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
- Anonymous6 years agoNot applicable
you are here used simply two numbers, I am using Dax calculation to divide the result of a count statement for a column by a count statement for another column!! Which didn't give me the ax act result without approximation!
- Anonymous6 years agoNot applicable
Hi Anonymous ,
Dividing 2 measures also give me the formatting. Not sure why it is not showing up in your pbix.
Result1 =var _a = FILTER(ALLEXCEPT('Table2','Table2'[Bank]), 'Table2'[ErrorType] <> BLANK())RETURNCALCULATE(DISTINCTCOUNT('Table2'[Process]),_a)Result2 = CALCULATE(DISTINCTCOUNT('Table2'[Process]),ALLEXCEPT('Table2','Table2'[Bank]))DivideVal = DIVIDE([Result2],[Result1])Below image is forDivideVal = DIVIDE([Result1],[Result2])ThanksHN- Anonymous6 years agoNot applicable