

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Result till one decimal place (it should not be round)
Hi Friends ,
I am geeting some values like
1.47
1.478
1.96
and soo on
but i want result till one decimal place only as number format without round , like
1.4
1.4
1.9
please suggest
- « Previous Replies
-
- 1
- 2
- Next Replies »
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this
=Floor(FABS( (FABS(sum({<$(v_SegSaleFilter)= {'TotTerexAerials'}, $(v_AOPDateRangeSC)> }[Target Budget])/1000000) -
FABS(sum({<$(v_SegSaleFilter)= {'TotTerexAerials'}, $(v_ACTDateRange)> }[ERP Amount USD])/1000000))),0.1)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
floor('1.478',0.1)


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it is rounding my result it become 1.5


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
=floor( (FABS(sum({<$(v_SegSaleFilter)= {'TotTerexAerials'}, $(v_AOPDateRangeSC)> }[Target Budget])/1000000)-
FABS(sum({<$(v_SegSaleFilter)= {'TotTerexAerials'}, $(v_ACTDateRange)> }[ERP Amount USD])/1000000)),0.1)
is my expression

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Floor is rounding 1.478 to 1.5? Can you share a screenshot of with and without floor function?


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My Expression is without floor is
=(FABS(sum({<$(v_SegSaleFilter)= {'TotTerexAerials'}, $(v_AOPDateRangeSC)> }[Target Budget])/1000000)-
FABS(sum({<$(v_SegSaleFilter)= {'TotTerexAerials'}, $(v_ACTDateRange)> }[ERP Amount USD])/1000000))
result : -1.4670449445889
with floor expression
=floor( (FABS(sum({<$(v_SegSaleFilter)= {'TotTerexAerials'}, $(v_AOPDateRangeSC)> }[Target Budget])/1000000)-
FABS(sum({<$(v_SegSaleFilter)= {'TotTerexAerials'}, $(v_ACTDateRange)> }[ERP Amount USD])/1000000)),0.1)
result : -1.5

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Its a negative number.... Try with Ceil instead of Floor

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
=Ceil( (FABS(sum({<$(v_SegSaleFilter)= {'TotTerexAerials'}, $(v_AOPDateRangeSC)> }[Target Budget])/1000000)-
FABS(sum({<$(v_SegSaleFilter)= {'TotTerexAerials'}, $(v_ACTDateRange)> }[ERP Amount USD])/1000000)),0.1)


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
but i need to use FABS here

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am not stopping you from using it
Update: fabs is still there?

- « Previous Replies
-
- 1
- 2
- Next Replies »