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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Decimal values showing after 2 digits instead of actual values when we combine the two values in DAX

Hi Team,

We are combining the values for unique identify the rows

Having two columns , employeenumber and percentagecontribution (which is measure) , we are trying to combine these two fields using '|' pipe symbol seperator.

 

For example:  Emplyee number : 00109364  & Atual value is 0.0796    

   expected result :  0.0796 |00109364 

   Current Result :  7.96|00109364

 

Snapshot of current result 

Red line indicates wrong means employee number appending correctly but percentageofcontribution values not correct when we combine.

For example:   Atual value is 0.0796  after combining its showing 7.96 but expected is : 0.0796

 

percentageofcontribution = measure  , Employeenumber = Column , Column = percentageofcontribution + Employeenumber

 

 

 

 

Thanks In Advance

 

   

1 ACCEPTED SOLUTION

Hi, @Anonymous 

There is no problem with the formula,maybe just the scientific notation is automatically used when displaying the result.

 

3.png

 

Best Regards,
Community Support Team _ Eason

View solution in original post

3 REPLIES 3
VahidDM
Super User
Super User

Hi @Anonymous 

 

Try this:

 

Measure=
[percentageofcontribution] & "|" & max(Employeenumber)

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

 

Anonymous
Not applicable

Hi @VahidDM ,

 

I tried with these measure  [percentageofcontribution] & "|" & max(Employeenumber) its returning the same wrong  decimal appended with maxemployee number

 

My problem with the [percentageofcontribution] value

ex:   Atual [percentageofcontribution] value is 0.0796  after combining its showing [percentageofcontribution] value is 7.96 but expected is : 0.0796

Hi, @Anonymous 

There is no problem with the formula,maybe just the scientific notation is automatically used when displaying the result.

 

3.png

 

Best Regards,
Community Support Team _ Eason

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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

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