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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Need help wih calculated column.

Hello All, I am facing this issue when I am using this calculated column:

PRI123_0-1669188504137.png

 

DAX: 

Column = var a = FORMAT(AM,AM[Revenue])
var b = LEFT(a/1000000,4)
return
CONCATENATE("$",CONCATENATE(b,"M"))
 
Please help me correct it. Any help would be much appreciated. Thanks in Advance!
1 ACCEPTED SOLUTION

 Oh sorry for that. My intent was to remove the format function completely as it seems there is no indication to impose any specific format. Sorry again I was typing on the phone. 

DAX: 

Column = var aAM[Revenue]
var b = LEFT(a/1000000,4)
return
CONCATENATE("$",CONCATENATE(b,"M"))
 

@Anonymous

View solution in original post

4 REPLIES 4
tamerj1
Super User
Super User

Hi @Anonymous 

please try

DAX: 

Column = var a = FORMAT(AM[Revenue])
var b = LEFT(a/1000000,4)
return
CONCATENATE("$",CONCATENATE(b,"M"))
Anonymous
Not applicable

@tamerj1 Hi. I tried that.  After the revenue bracket it is showing bracket error as "expected additional parameters"

PRI123_0-1669193919926.png

 

 Oh sorry for that. My intent was to remove the format function completely as it seems there is no indication to impose any specific format. Sorry again I was typing on the phone. 

DAX: 

Column = var aAM[Revenue]
var b = LEFT(a/1000000,4)
return
CONCATENATE("$",CONCATENATE(b,"M"))
 

@Anonymous

Anonymous
Not applicable

@tamerj1 Thank you so much. It Worked. Thanks Again

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.