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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Vinagre01
Frequent Visitor

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!



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.