Hi, I'm searching for a method to figure out if all selected files in a group have the same value for a given tag. I have a tag [Completed], which I set to either "✕" or "✔", depending on, if the file has all the tags I want it to have and if the quality of the file is sufficient. E.g a mp3 album, that has a flac version available gets an "✕". A 1080p movie that was re-released in 4K also gets an "✕". This tag is for the most files in my library currently empty.
Some of my views are categories views and I want to promote the [Completed] tag up in the hierarchy. So if I categorize by [Year], the thumbnail text at that level should be [Year] [Completed] (e.g. "2012 ✕" or "2015 ✔"). Of course that would result in a lot of "[Varies]", which I don't want. I want the [Completed] tag to not show up if it is "[Varies]".
I made a simple expression [Year] If(isequal([Completed],[Varies],1),,[Completed])
to do exactly that. And it works how it should, but the "[Varies]" value does not work how I thought it would. [Varies] seems to not take empty tags into account. E.g. if of two files, one is "✔" and the other is empty, the result is not [Varies], but "✔". But I also can't test for emptiness, since at the point where the expression is executed, the tags are already summarized at that point.
I've come up with two possible solutions. One is to use custom rules in the view with save and load expressions to summarize the [Completed] tag on my own. However, my past experiences have shown, that this approach is very slow and does not scale.
The second possible solution would be to use a dedicated empty value. This could work with the existing expression, but I think its difficult enforcing that this value is set for all files.
Maybe there are better solutions like using grouping functions or something else I've not thought about. Hope you can help me.