Forum Discussion

dranoel's avatar
dranoel
New Member
6 years ago

Change endianness in Hex string

Hi to all knowledgeable people! 

 

I have payload data in HEX format that respresents a floating point number. The HEX in presented in little-endian format and I need the big-endian format. I'm new to PowerBI so I'm strugling with indexing. 

 

How to change the endianness of a HEX string, i.e. I have 5C8FC441 i need to get 41C48F5C.

 

Is it possible to use JavaScript code in Power BI? I have the entire decoder for this project written in JS and it would be excellent if it could be used directly in PowerBI.

 

Thank you!

2 Replies