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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Concatenate Measure and Text

Hello,

 

Could you please answer the following:

I was trying to create a calculation showing SUM(Montant Facturable) and the Currency, and the reason why I'm using this method not the default Number Formatting is that Gaia is a Number and Montant is Currency; so when I select Montant, I would like to see 2 decimals and Euro currency, 

 

Thank you, 

 

mesure.PNG

dynamic title..PNG

4 ACCEPTED SOLUTIONS
Nathaniel_C
Super User
Super User

Hi @Anonymous ,

Not sure if I understand exactly what you are asking, however when you create a measure you will have control over the format by going to the Modeling tab and selecting the Format.
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Euro.PNG

Euro1.PNG

 





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

Proud to be a Super User!




View solution in original post

amitchandak
Super User
Super User

You can use

format ( <your formaul>,"###.##") & "<Currency symbol>"

View solution in original post

Anonymous
Not applicable

Reporting Period = IF(ISFILTERED(DATES[Reporting Period]),
CONCATENATE("Reporting Period: ",SELECTEDVALUE(DATES[Reporting Period])))

View solution in original post

You will need to define the formatting for both cases using IF clause, something like this:

 

CalculatedMeasure = IF(SELECTEDVALUE(Table1[FilterField]) == "Gaia", FORMAT(SUM(ARS211C[MONTANT FACTURABLE]), "Currency"), FORMAT(SUM(ARS211C[MONTANT FACTURABLE])), "General Number"))

 

More on formats:

https://docs.microsoft.com/en-us/dax/pre-defined-numeric-formats-for-the-format-function

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

You can use

format ( <your formaul>,"###.##") & "<Currency symbol>"
Anonymous
Not applicable

Reporting Period = IF(ISFILTERED(DATES[Reporting Period]),
CONCATENATE("Reporting Period: ",SELECTEDVALUE(DATES[Reporting Period])))

You will need to define the formatting for both cases using IF clause, something like this:

 

CalculatedMeasure = IF(SELECTEDVALUE(Table1[FilterField]) == "Gaia", FORMAT(SUM(ARS211C[MONTANT FACTURABLE]), "Currency"), FORMAT(SUM(ARS211C[MONTANT FACTURABLE])), "General Number"))

 

More on formats:

https://docs.microsoft.com/en-us/dax/pre-defined-numeric-formats-for-the-format-function

Nathaniel_C
Super User
Super User

Hi @Anonymous ,

Not sure if I understand exactly what you are asking, however when you create a measure you will have control over the format by going to the Modeling tab and selecting the Format.
Let me know if you have any questions.

If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
Euro.PNG

Euro1.PNG

 





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

Proud to be a Super User!




Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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