I have a requirement where I convert an ID (decimal example, 536879311820 ) and display in SSRS table after conversion using expression builder as shown in the figure.[![enter image description here](https://i.stack.imgur.com/Qlqyj.png)](https://i.stack.imgur.com/Qlqyj.png)

The rule for conversion is like this:

* Convert the number to Hexadecimal and take right 8 digits
(536879311820 to 00802BCC)
* Convert the taken 8 digits to decimal and take right 5 digit
(00802BCC to 8399820)

So 536879311820 should be displayed in report as 99820. I tried up to the following expression in the expression builder, 

```
=Right(HEX(Fields!PersonId.Value), 8)

```

Since the result of this expression is hexadecimal number as string, I can't find any function in common functions category in expression builder.