Link to home
Start Free TrialLog in
Avatar of ssblue
ssblueFlag for United States of America

asked on

PBI - need to format a new column with formula

I have a PBI table and I created a new column with the following formula

Miles = (KOB1[Cost]/.535)

I need it to show only to two decimals.

Example:

Current:  45.654897215

Desired:  45.66
Avatar of ssblue
ssblue
Flag of United States of America image

ASKER

This is in Microsoft Power BI application. It doesn't offer the format option when I right click and your new formula doesn't work either.
It uses DAX if that helps.
 I'm not familiar with DAX.
ASKER CERTIFIED SOLUTION
Avatar of Jacques Geday
Jacques Geday
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ooops you answered me before I posted !!! how this can be ?
gowflow
Avatar of ssblue

ASKER

Now it won't let me do a SUM on that field?????
Avatar of ssblue

ASKER

Never mind I figured it out!
Avatar of Norie
Norie

Have you tried using ROUND?

Miles = ROUND((KOB1[Cost]/.535),2)