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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Numerical formats

Hello All,

I am using dax measure to calculate the result for division of two counts for two columns, the issue that I always got an integer approximated result ( for example when the actual division result is 0.68 I got 1)!!

how can we change the result numeric format to show the exact value without approximation to nearest integer? Thank you

8 REPLIES 8
harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

Select your measure and go to the ribbon above . Click on the dropdown and select Decimal Number

 

1.jpg

 

 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Anonymous
Not applicable

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.

 

1.jpg

 

 

 

Regards,
Harsh Nathani

Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Anonymous
Not 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!  

Hi @Anonymous ,

 

Dividing 2 measures also give me the formatting. Not sure why it is not showing up in your pbix.

 

 

1.jpg

 

 

 

Result1 =

var _a = FILTER(ALLEXCEPT('Table2','Table2'[Bank]), 'Table2'[ErrorType] <> BLANK())
RETURN
CALCULATE(DISTINCTCOUNT('Table2'[Process]),_a)
 
 
Result2 = CALCULATE(DISTINCTCOUNT('Table2'[Process]),ALLEXCEPT('Table2','Table2'[Bank]))
 
DivideVal = DIVIDE([Result2],[Result1])
 
 
Below image  is for 
DivideVal = DIVIDE([Result1],[Result2])
 
1.jpg
 
Thanks
HN
Anonymous
Not applicable

 

Hi @Anonymous ,

 

Shown both the division in the above post.

 

Can you share some sample data and the measure formula for TAT Order and Typical Submission

 

Regards,

HN

Anonymous
Not applicable

It was my fault, I was forget one filter active, now everything is working. Thank you for your cooperation 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.