Forum Discussion
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
- amitchandak
Super User
dranoel , You might have to write same in power bi
Refer
https://docs.microsoft.com/en-us/dax/text-functions-dax
https://docs.microsoft.com/en-us/powerquery-m/text-functions
- v-diye-msft
Community Support
Hi dranoel
If you've fixed the issue on your own please kindly share your solution. if the above posts help, please kindly mark it as a solution to help others find it more quickly. If not, please kindly elaborate more. thanks!