Skip to main content
Answer

Display % in GI. Change format value

  • November 26, 2025
  • 2 replies
  • 59 views

Forum|alt.badge.img+1

I have GI. I need dispaly value in this format. How i can do this?

 

Best answer by bwhite49

Try this for column 1. Replace OrderQty with your field

=Concat(iif([SOLine.OrderQty]<0,'-','')+Replace(Replace(Left(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),3)+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),13),3)+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),10),3)+','+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),4),2),'~,',''),'~',''))

and this for column 2

=Concat(iif([SOLine.OrderQty]<0,'-','')+Replace(Replace(Left(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),3)+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),13),3)+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),10),3)+'.'+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),4),1),'~,',''),'~','')+'%')

2 replies

mohammadnawaz51
Jr Varsity I
Forum|alt.badge.img+4

bwhite49
Captain II
Forum|alt.badge.img+10
  • Captain II
  • Answer
  • November 26, 2025

Try this for column 1. Replace OrderQty with your field

=Concat(iif([SOLine.OrderQty]<0,'-','')+Replace(Replace(Left(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),3)+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),13),3)+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),10),3)+','+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),4),2),'~,',''),'~',''))

and this for column 2

=Concat(iif([SOLine.OrderQty]<0,'-','')+Replace(Replace(Left(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),3)+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),13),3)+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),10),3)+'.'+Left(Right(PadLeft(CStr(Abs([SOLine.OrderQty])),16,'~'),4),1),'~,',''),'~','')+'%')