Forum Discussion

Scotteh's avatar
Scotteh
New Member
6 years ago
Solved

Rounding Numbers Help

Hi Everyone,

 

I've only recently started using PowerBI, but was hoping the community could help. I've looked at previous posts on rounding but they seem overly complex for what I want to achieve. I have newly created view with 'Days' which is giving me the difference between certain fields. Unfortunately the end result shows me 3 decimal places after the Day, which I'd like to round up.

 

Is there an easy way to do this?

 

 

Days =

VAR HS = 'Transition Time'[Date End Change] - 'Transition Time'[Source Status Change Date]
VAR CS = TODAY() - 'Transition Time'[Date End Change]

RETURN
IF(ISBLANK('Transition Time'[Source Status Change Date]),CS,HS)
 
The Days is not part of the underlying tables, it is created from the above queries.
 
 

TIA,

 

Scott

 

3 Replies