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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Number of decimal places

Hi everybody,

 

I've created a new metric in Dax and I intend to show it whitout numbers after the comma. 

 

If I put the number 0 to try to force this, the card continues showing 2 numbers after the comma.

 

 image1.png

 

If I put the number 1 to force, this show as I want. I also tried to put the format in integer, but this didn't solve my problem as well.

 

image2.png

 

Does someone has some idea how to solve this problem?

 

Thank you people. 

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@Anonymous 

 

Hi, try changing the decimals in the Visual Card

 

Regards

 

Victor




Lima - Peru

View solution in original post

3 REPLIES 3
v-eachen-msft
Community Support
Community Support

Hi @Anonymous ,

 

You could use ROUND() function to output the right type.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.
Vvelarde
Community Champion
Community Champion

@Anonymous 

 

Hi, try changing the decimals in the Visual Card

 

Regards

 

Victor




Lima - Peru
Anonymous
Not applicable

Hi @Vvelarde .

 

Perfect. This solve my problem.

 

Thank you very much!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.