INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Need help with expression  (Read 1184 times)

ksvane

  • World Citizen
  • ***
  • Posts: 124
Need help with expression
« 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?
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Need help with expression
« Reply #1 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.
Logged
The opinions I express represent my own folly.

ksvane

  • World Citizen
  • ***
  • Posts: 124
Re: Need help with expression
« Reply #2 on: August 18, 2011, 02:51:02 pm »

It works :D thanks a Brazillion!

Logged
Pages: [1]   Go Up