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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Remove decimals in a concatenated column

Dear all,

 

I have a text column (ID) and Decimal column (LINENUM) wih 0 decimals which I concatenate with each other.

 

The problem with this is that the column suddenly shows decimals when I combine them:

bunyamin360_0-1612794962126.png

I tried two different functions and both did not work. I used CONCATENATE() and COMBINEVALUES() but both show same result. 

 

Does anyone know how I can remove the decimals in the new concatenated column?

 

Thanks!

3 REPLIES 3
iXpert_info
Helper II
Helper II

Hello @Anonymous 

Can you try the below DAX 
ContractLine= CONCATENATE(ID,round([LineNum],0)

Please accept this as solution if this helped to help others

Best Regards
Jay Patel
iXpert Analytics

Anonymous
Not applicable

Hi @iXpert_info ,

 

I tried your DAX but this also shows the same results alas. 

harshnathani
Community Champion
Community Champion

Hi @Anonymous ,

 

Try Column by Example in Power Query

 

https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-add-column-from-example

 

1.PNG

Do let me know if this works

 

Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric 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.

Users online (25)