I’ve hardcoded a table to display the count for each tag in a container of notes. This particular container has 853 children, 23 tags and they distribute like so:
The code for any given row looks like this:
<tr><td>changeTech</td><td>^action($MyNumber=sum_if(children, $Tags.format(";").icontains("changeTech"),1))^^value($MyNumber)^</td></tr>
What might I do to create this as an export template? @satikusala I’m wondering if you might already have a video that would help? I know I saw one where you have a table print out the values for marketing emails… but what stumped me here was (1) only creating a row for .unique
values of $Tags
and (2) grabbing a given row’s tag to calculate that row’s sum_if()
count.