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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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