INTERACT FORUM

More => Old Versions => Media Center 16 (Development Ended) => Topic started by: ksvane on August 18, 2011, 02:29:57 pm

Title: Need help with expression
Post by: ksvane on August 18, 2011, 02:29:57 pm
Hello, I need help with creating an expression for a column:
If Artist equals albumartist then blank field, if not then artist.

Similar to the "track artist" column in foobar2000 :)

Is it possible to compose an expression that does that?
Title: Re: Need help with expression
Post by: MrC on August 18, 2011, 02:41:07 pm
Here you go:

If(isequal([artist],[album artist]),/ ***SAME***,[artist])

I put the phrase " ***SAME***" so that it would sort to the top and you can see which are the same.

Remove the stuff in red to let the values sort under Unassigned at the bottom of the column.
Title: Re: Need help with expression
Post by: ksvane on August 18, 2011, 02:51:02 pm
It works :D thanks a Brazillion!