Hi,
In my app, Iโm trying to create a data completion rate column so that I could use that nifty circular percentage thingy on Cards view to display data completion on each row.
So for this purpose, Iโve created some physical columns and virtual columns to gather data completion on each table, and finally Iโve made a virtual column of โpercentโ type in the parent table that basically does a very simple calculation of [Completion Count]/[Total Count] to be displayed as a percentage, but every time I save data, the percentage initially shows the correct figure, and then gets a value of โ0โ out of nowhere once the syncing of the data completes! The [Completion Count] and [Total Count] are also virtual columns, but they retain their values. I have no idea why this is happening!
Does anyone have any idea whatโs going on or what I am doing wrong?
Thanks!
Solved! Go to Solution.
Are you dividing an integer by a integer? Try:
1.0 * [completion] / [count]
Are you dividing an integer by a integer? Try:
1.0 * [completion] / [count]
Thank you so much @Marc_Dillon. That worked perfectly. I donโt understand why it made such a difference, but nevertheless it works perfectly!
Saved my day.. Thank you ๐
User | Count |
---|---|
40 | |
34 | |
29 | |
23 | |
17 |