Hi all,
I don't know what I am doing wrong here. I have a filter on a field from a SharePoint list and for some reason it is not returning unique values. It is returning all values.
/dfs:myFields/dfs:dataFields/dfs:Stacks/@Stack_Name[not(. = preceding-sibling::dfs:Stacks/@Stack_Name)]
I have used this approach before and it has worked a treat. I can't work out why it isn't working this time. It's probably something stupid but I can't spot it. If it helps, the field was originally the title on the list.
Any suggestions?
Thanks,
Ben