Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all,
we always have a strange behavior with number formatting when we publish applications.
For example, we define some dimensions as date in the properties of the document. Then, when the application is published and a user accesses it, the date becomes a number again.
Does anyone know this behavior and would happen to know a solution?
Greetings
Can you please try once using manual conversion to date format like below.
Date(dimension,'DD/MM/YYYY')
Hi,
with a manual adjustment in the script is working, however, this means a significant additional effort for us.
On the other hand, it should still not be the case that formats disappear. Therefore, I would still like to find out where the problem comes from.
You mean those fields aren't converted/formatted in any way during the load-process - just purely as the come from the sources and the wanted formatting is then set within the document properties? And if you format them within the script explicitly with measures like date(field) it will work with / without the document settings?
- Marcus
right, that's exactly how it behaves. Perhaps a supplement. We use our own tool to bring the data models from a source to QlikView via the Qlik API.
However, so far I have not found any indication that this changes the settings in the document settings.
Thinkable are various things, like:
I could imagine that in the end defining an explicit interpretation/formatting during the load may the most suitable approach to ensure the wanted results. And with a smart approach like:
https://qlikviewcookbook.com/2016/07/touchless-formatting/
the needed efforts are not necessary too expensive and could be also applied within more or less automated loading-routines.
- Marcus