Hi, I am trying to work find a script purpose of which is to count no. of Doors, Windows (List 2) against each item from List 1. Pictures being attached, please help.
I want the data i.e., Design Modification- Door Count 1, Window count 1,
Design Clarification- Door Count 1, Window count 1.
In the same way, for all 4 list items.
a = List.RestOfItems(List.Clean(lst,false));
b = List.GetItemAtIndex(a<1>,6..5);
c = String.Split(List.FirstItem(b<1>),",");
d = String.AllIndicesOf(List.LastItem(b<1>)<1>,["Windows","Doors"],false);
e = ["Window Count : ","Door Count : "] + List.Count(d<1><2>)<1>;
f = List.Flatten(List.AddItemToFront(c<1><2>,e<1>),1);