Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Everyone,
We have excel file with a column which has values like 5.91702E+13 and Qlik is loading the value as it is and its difficult to do further analysis.
How can we covert the values like 5.91702E+13 into its actual number which is like 59171111111179 while loading into Qlik?
Thanks
If the values in Excel are text, the following will do the trick:
=subfield(upper(FieldSci), 'E',1) *pow(10,subfield(upper(FieldSci), 'E',2))
Otherwise, try:
=Num#(FieldSci)
No - Qlik perfectly well knows how to interpret scientific notation ... no need to go to complications doing text manipulation.
To interpret numbers properly one can use Num#()
Num#(aNumber) will often keep the formatting and create a Dual-value.
Doing a calculation which is not changing the original number like multiplying with 1 or adding a 0 is a way of tricking Qlik into not keeping the original format.
Num#('1E3')+0
will give 1000
whereas Num#('1E3') will give a dual-number of 1000 with the format 1E3.
If any of the posts you have received with explanations and ideas to address have worked, do not forget to return to the thread and on the post that helped the most, use the Accept as Solution button to mark it, which will give the poster credit for the help and let other Members know this worked for your use case. If you are still working on things, please leave an update with what you need, it is great if we can close the thread properly if you have what you need.
Regards,
Brett