I have a column which is an array and would like the print the distinct count
Event
| project colors
Present OutPut
["Red", "Green", "Green", "Red"]
["Yellow", "Yellow", "Yellow", "Yellow"]
Expected
["Red", "Green", "Green", "Red"] , 2
["Yellow", "Yellow", "Yellow", "Yellow"], 1
Here's what I think you want, using
todynamicandmvexpandandsummarize, (anddatatableto create the input data)that will output what you have in your question: