cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Vinagre01
New Member

Decimal numbers inside a text

Hi I need help with the following issue: I am trying to make a text mixed up with some numbers which changes sometimes so I could put it on a card.

The measures I am using are:

[Measure 1] = "Text 1" & [Measure 2] & "Text 2"

[Measure 2] = AVERAGE('Table'[Price])

Then I go and change the place where you can put the amount of decimal numbers from "Auto" to 2, but it is useless.

When the Measure 1 is on the card I see the numbers with a huuuuge amount of numbers after the point.

 

Is there any solution to this?

 

image.png

1 ACCEPTED SOLUTION
camargos88
Community Champion
Community Champion

Oi @Vinagre01 ,

 

Dá uma olhada nesse link: https://docs.microsoft.com/pt-br/dax/custom-numeric-formats-for-the-format-function

 

Formata como texto usando a função FUNCTION e a máscara.

 

Did I answer your question? Mark my post as a solution!
Ricardo

 

 



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



View solution in original post

1 REPLY 1
camargos88
Community Champion
Community Champion

Oi @Vinagre01 ,

 

Dá uma olhada nesse link: https://docs.microsoft.com/pt-br/dax/custom-numeric-formats-for-the-format-function

 

Formata como texto usando a função FUNCTION e a máscara.

 

Did I answer your question? Mark my post as a solution!
Ricardo

 

 



Did I answer your question? Mark my post as a solution!

Proud to be a Super User!



View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.