Hi I am trying to create a template expression that would return the weekly timesheets back to the user. I have a parent Employee table and the child employee table.
The starting expression I need to filter is thisโฆ<<Start: [Related Timesheets [Name]]>>
This use case is pretty common but I am troubling with my expression. This is what I have so farโฆ
<<Start: SELECT([Related Timesheets][Name], AND(IN[NAME],[THISROW].[Related Timesheets]),[Date]>=TODAY()-7))>>
Any help would be appreciated
Solved! Go to Solution.
It was a syntax issue. I had to rename the ref column. Thanks the final expression wasโฆ<<Start: SELECT([Related Timesheets][Timestamp],AND(IN([Timestamp],[_THISROW].[Related Timesheets]),[WeekNum]=[Current WeekNum]))>>
[Related Timesheets [Name]]
[Related Timesheets][Name]
IN[NAME]
[THISROW]
Are these typos? If not, they probably contribute to your problem; if they are typos, please correct them so we have an accurate idea of what youโre working with.
It was a syntax issue. I had to rename the ref column. Thanks the final expression wasโฆ<<Start: SELECT([Related Timesheets][Timestamp],AND(IN([Timestamp],[_THISROW].[Related Timesheets]),[WeekNum]=[Current WeekNum]))>>
User | Count |
---|---|
41 | |
27 | |
27 | |
20 | |
13 |