Hi @Winterkid ,
TAKSG000039 is Text, not a number, so you cannot add 1 to it (you will get 1). Assuming it will always have five leading letters (this is more complex than you thought . . .)
With(
{
wNo:
With(
{wTag: Last(IT_ASSET).Asset_Tag},
Value(
Right(
wTag,
Len(wTag) - 5
)
)
),
wPre:
Left(
Last(IT_ASSET).Asset_Tag,
5
)
},
wPre &
If(
wNo < 100,
"0000",
wNo < 1000,
"000",
wNo < 10000,
"00",
wNo < 100000,
"0"
) & Text(wNo + 1)
)
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.