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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
PoweredOut
Resolver I
Resolver I

Is it possible to keep original number format when combing measures?

Good morning

 

I have use case where I have to show two types of information in one table.

 

In order to achieve this I combined two measures together. The first is in currencey format and the second in whole number format. 

 

When I put the measure into a visual, I get the reults I need, but I would like to show the combined measure reult in the original format of both measures.

 

Is this possible using DAX Format for example? I have tried using it, but I get an error

 

Thanks

1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @PoweredOut ,

 

Based on your description, I have created a simple sample:

vjianbolimsft_0-1685513940334.png

Please try:

Measure3 = 
var _a = [Measure1]
var _b = [Measure2]
return FORMAT(_a,"Currency")&" "&INT(_b)

Final output:

vjianbolimsft_1-1685513951349.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @PoweredOut ,

 

Based on your description, I have created a simple sample:

vjianbolimsft_0-1685513940334.png

Please try:

Measure3 = 
var _a = [Measure1]
var _b = [Measure2]
return FORMAT(_a,"Currency")&" "&INT(_b)

Final output:

vjianbolimsft_1-1685513951349.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

FreemanZ
Super User
Super User

hi @PoweredOut 

try to create two measures with same code, but different format. 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.