Hello everyone, I couldn't find solutions, so I'm trying my luck here.
How to display units (ex: kg) on appsheet ?
The display on my screenshoot is 75.00, so how to appearing 75.00 kg
I hope you understand what I mean, sorry if my english is bad.
Solved! Go to Solution.
I've found it, just create a New Virtual Column, and enter the app formula CONCATENATE(TEXT([Total kg Lembar])," kg") works fine! Thanks everyone!!
AppSheet numerical columns such as numbers and decimal type cannot have units ( that is text) added to their values.
You could display the units in the column headings the way you have done. If it is must to display units along with the numerical /decimal values, you could construct TEXT type columns with an expression something like
CONCATENATE([Number Column], " unit") and display these concatenated columns in detail and summary views as necessary with CONTEXT() functions.
Edit: There is a feature request for this requirement and you could upvote it there.
Option to add prefix/suffix to number/decimal type... - Page 2 - Google Cloud Community
I've found it, just create a New Virtual Column, and enter the app formula CONCATENATE(TEXT([Total kg Lembar])," kg") works fine! Thanks everyone!!
@akarizky wrote:
I've found it, just create a New Virtual Column, and enter the app formula CONCATENATE(TEXT([Total kg Lembar])," kg") works fine! Thanks everyone!!
You are welcome. Great. Well, yes that ( creating a text column with concatenation )was the precise suggestion in the beginning itself.
@Suvrutt_Gurjar wrote:
If it is must to display units along with the numerical /decimal values, you could construct TEXT type columns with an expression something like
CONCATENATE([Number Column], " unit") and display these concatenated columns in detail and summary views as necessary with CONTEXT() functions.
hello everyone,
I specifically developed this application to find an alternative solution to the unit problem you mentioned.
Below is a screenshot of the application and the formulas used.
Thank you for sharing and putting up a neat functionality of multiple selectable units.. Good to know you made use of suggestion to concatenate to display the quantity and unit together in a text column.
Thank you very much for your comment. Regarding the concatenation of the unit in the text column, this is the only alternative that can be used since the unit functionality is not native in Appsheet.
The text column remains for viewing and editing reports while the calculations are done on the decimal column.
@Yahia_DAK wrote:
Regarding the concatenation of the unit in the text column, this is the only alternative that can be used since the unit functionality is not native in Appsheet.
You are absolutely correct. That is what I also mentioned in my first response above.
@Suvrutt_Gurjar wrote:
AppSheet numerical columns such as numbers and decimal type cannot have units ( that is text) added to their values.
You could display the units in the column headings the way you have done. If it is must to display units along with the numerical /decimal values, you could construct TEXT type columns with an expression something like
User | Count |
---|---|
18 | |
10 | |
8 | |
6 | |
5 |