Hi,
Im pulling some records from a SharePoint list to create a csv table. But as one of the columns is a calculated column it forces number to be 16 characters long with decimal 0 (e.g 1.00000000000000 instead of 1, issue with SharePoint lists). So i wanted to use an expression to round it to an integer, but when i use the expression the variables from columns are not shown (just 'list of items' and 'value')
is there any way to carry out expressions using the items when creating the csv table?
thank you
Hi @Dave48 ,
The first step is to check the Body of Get items and get the internal name of the corresponding field.
Then use item()['internalName'] to call the field value. Configure it in the int() function.
Best Regards,
Hi Barry,
Thank you for your help, im afraid its not accepting my internal name (error -The template language function 'int' was invoked with a parameter that is not valid.)
I used the name that i have used in other expressions when referencing it, is that right? is there any reason why its not appearing in the variables list
many thanks
Hi @Dave48 ,
check the Body of Get items and get the internal name of the corresponding field. Have you completed this step? Has the internal name of the corresponding field been obtained?
Then the expression you configure in Select action should be int(item()['internalName']).
Best Regards,
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
40 | |
38 | |
37 | |
33 | |
28 |
User | Count |
---|---|
39 | |
36 | |
32 | |
30 | |
23 |