Nested #each in business text plugin

this is my html code and nasted loop not work for me , every one of them work sperated but nested not work
plz help me :slight_smile:

{{#each data.[1] as |item1|}}

{{item1.sitename}}

{{#each data.[0] as |item0|}} {{#if (eq item0.sitename item1.sitename)}}

{{item0.assetname}}-{{item0.persistentclassificationoutput}}

{{/if}} {{/each}}
{{/each}}

please provide sample data and what you are attempting to do?

1 Like

i edit post for data

please provide your data as usable text?
like this

site_name
darth
vader

same with detail child data.

and also a case where parent site does not exist in child details if that is a possibility and what do you want in that case

forget data details i want do this :
{{#each data.[1] as |item1|}}
xxxx
{{#each data.[0] as |item0|}}
yyyyy
{{/each}}
{{/each}}

i mean just “nasted each” can i do this in grafana?