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

Formatting measure values as currency

Hi,

 

I have a column in my dataset which is formatted as currency, and contains sales values. I also have a measure which calculates a running total for a given period using a dax function:

 

RunningNettoWeek = CALCULATE(SUM(Sales[NETTOPREMIE]);FILTER(ALL(Sales[Week]);Sales[Week] <= MAX(Sales[Week])))

 

The problem is that the values lose their formatting when processed through a measure. Is there any way for me to get that formatting back? I've tried wrapping my CALCULATE() function in FORMAT(), but that resulted in values not showing at all in my charts.

1 ACCEPTED SOLUTION

Accepted Solutions
Super User IV
Super User IV

Re: Formatting measure values as currency

In the data Modeling area, click on your measure and then click on the $ icon to format the measure as currency.


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

View solution in original post

2 REPLIES 2
Super User IV
Super User IV

Re: Formatting measure values as currency

In the data Modeling area, click on your measure and then click on the $ icon to format the measure as currency.


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!
Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!

View solution in original post

Highlighted
PaulMac Helper III
Helper III

Re: Formatting measure values as currency

Click on the the measure name in the FIELDS pane and then select the Modeling Tab. In the Formatting area click the drop down next to the $ and choose your selected currency. 

 

Smiley Happy

 

Hope this is of help.

 

 

Helpful resources

Announcements
Announcing the New Spanish Forum

Announcing the New Spanish Forum

Do you need help in Spanish? Check out our new Spanish community section.

MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

‘Better Together’ Integration Forum Launch

‘Better Together’ Integration Forum Launch

We've launched a how-to forum where you can learn about how Power BI integrates with other Power Platform products.

Top Solution Authors
Top Kudoed Authors