INTERACT FORUM

Please login or register.

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

Author Topic: Grouping question/request  (Read 1051 times)

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Grouping question/request
« on: June 06, 2011, 03:20:47 pm »

I have a theater view view setup that utilizes grouping.  I have a lot of artists so the grouping comes in really handy.  There is one little thing that bugs me about the grouping.  Here is what my view looks like.



What I would like is an option to group "Others" (which is artists that start with odd characters like (Hed) P.E or 'Til Tuesday) and the artists that start with a number (311 and 50 Cent for instance) into one group.

So the view would list something like Other,0-9 and then A, B, C etc.

Basically I just want to be able to group bands that start with numbers and symbols together.

Logged

Lasse_Lus

  • Citizen of the Universe
  • *****
  • Posts: 999
Re: Grouping question/request
« Reply #1 on: June 06, 2011, 05:22:44 pm »

to "custom group", create a custom field with an expression with your choise
Logged
MT5FR

rick.ca

  • Citizen of the Universe
  • *****
  • Posts: 3729
Re: Grouping question/request
« Reply #2 on: June 06, 2011, 05:23:50 pm »

Or use an expression category...

Code: [Select]
If(IsEqual(ABCDEFGHIJKLMNOPQRSTUVWXYZ, Left([Artist], 1), 8), Left([Artist], 1), 0-9 etc.)
Logged

Moe

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 718
  • Hi
Re: Grouping question/request
« Reply #3 on: June 06, 2011, 06:03:08 pm »

Thank you Rick, that worked perfectly.

I wish I could get my head around the expression stuff.
Logged

rick.ca

  • Citizen of the Universe
  • *****
  • Posts: 3729
Re: Grouping question/request
« Reply #4 on: June 06, 2011, 06:33:00 pm »

Quote
I wish I could get my head around the expression stuff.

I usually discover something that works by trial and error long before getting my head around why it works. I usually do that by adding an expression column to an applicable view—where I can edit the expression and instantly see the results. For something complex, I'll use separate columns for different "pieces" of the expression, until I'm sure each one works correctly. When I get stuck, I refer to marko's excellent wiki topic.
Logged
Pages: [1]   Go Up