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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Akos9207
Frequent Visitor

Text formating question

Hi,

 

I would like to ask for help with the following problem.

 

I have 3 numeric columns (menny, btknettoar, btkbruttoar), all columns are decimal value with 4 digits after comma and i would like to concatenate together.  

 

I use the following:

 

"Mennyiség: " & Number.ToText(Number.Round([menny],2)) & " Nettó ár: " & Number.ToText (Number.Round([btknettoar],2)) & " Bruttó ár: " & Number.ToText (Number.Round([btkbruttoar],2))

 

The result:

Mennyiség: 12.0000 Nettó ár: 491.0000 Bruttó ár: 623.5700

 

I would like to get the following (only 2 digits after comma):

Mennyiség: 12.00 Nettó ár: 491.00 Bruttó ár: 623.57

 

Is it possible to format the values? The original colums cannot be formated to use only 2 digits, i need all 4 digits for other purposes, so that is not an option.

 

Thank you.

1 ACCEPTED SOLUTION
Barthel
Solution Sage
Solution Sage

Hey @Akos9207

You could use the FIXED function. Rounds a number to the specified number of decimals and returns the result as text. You can specify that the result be returned with or without commas.

https://learn.microsoft.com/en-us/dax/fixed-function-dax

View solution in original post

3 REPLIES 3
FreemanZ
Community Champion
Community Champion

Barthel
Solution Sage
Solution Sage

Hey @Akos9207

You could use the FIXED function. Rounds a number to the specified number of decimals and returns the result as text. You can specify that the result be returned with or without commas.

https://learn.microsoft.com/en-us/dax/fixed-function-dax

Thank you.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.