{{items.Count()}} in my template gives Unknown identifier 'items' error in excel output
See original GitHub issueHi Team,
Thanks for this wonderful Package. I’m using the latest beta. As per the docs, the following link says,
Expressions are enclosed in double braces {{ }} and utilize the syntax similar to C#. Lambda expressions are supported.
{{items.Where(i => i.Currency == "RUB").Count()}}
So I tried just to get count from items using {{items.Count()}}
in my excel template but I’m getting the following error,
Unknown identifier ‘items’
Please assist on where I’m wrong.
Template:
Output:
Thanks, Abdul
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
6 Common CSV Import Errors and How to Fix Them
Discover the top 6 most common CSV import errors that companies experience when uploading data.
Read more >How to count unique values in Excel an easy way
The formula works with this simple logic: UNIQUE returns an array of unique entries, and COUNTA counts all the elements of the array....
Read more >Solved: Unable to process template language expressions in...
Unable to process template language expressions in action 'Send_an_email_to_accounts' inputs at line '1' and column '2575': 'The template language expression ' ...
Read more >Excel VLOOKUP Function Examples and Troubleshoot ...
Excel VLOOKUP formula examples. Find product price. Change letter grades to numbers. Troubleshoot. Fix sorting problem.
Read more >Review and troubleshoot import errors
The import file contains a value for a number property with non-numeric characters. The affected records were imported, but the number property does...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Inside tables (ranges) you can use:
item
variable to refer to the current row objectitems
variable to access the collectionindex
variable to get the serial number of the current object in the collection Here detailsAlright thanks. Let’s close this issue. Thanks for the support and help.