Skip to main content
Solved

how to group attribute

  • August 25, 2026
  • 7 replies
  • 105 views
  • Translate All

Forum|alt.badge.img

Hello,

So, I have built this GI, and I add attribute to my column. I am trying to group with the attribute, but I can find it in the grouping data. Is there a way around this. This the AttributePARENTROLL.

 

Best answer by KrunalDoshi

Hi ​@SandyA,

You can join AttributeId from CSAnswer to the actual AttributeID as in below screenshot.

This will give you the desired output, group by PARENTROLL.

 

View original

7 replies

BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4

​@SandyA You’ll probably have to add CSAnswers table and join it in to be able to group on it.

Translate

Forum|alt.badge.img
  • Author
  • Freshman II
  • August 25, 2026

​@BenjaminCrisman  so I did add the CSAnswer table but I still can’t find it in the grouping

 

Translate

lauraj46
Captain II
Forum|alt.badge.img+9
  • Captain II
  • August 25, 2026

Hi ​@SandyA ,

Adding to what ​@BenjaminCrisman said, when joining on the CSAnswers table you should also include AttributeID as another row on the relation, otherwise the query will return all of the attributes that are defined for the customer.  The  join would be Parent Field = ‘PARENTROLL’ , Child Field = CSAnswers.AttributeID and the grouping would be on CSAnswers.Value .  

Hope this helps!

Laura

Translate

mohammadnawaz51
Varsity I
Forum|alt.badge.img+8

​@SandyA 

Use the CSAnswers table as a workaround:

  1. Add CSAnswers to the Tables tab.
  2. Create a Left Join using:
    • Main table NoteID = CSAnswers.RefNoteID
  3. Add another relation condition:
    • CSAnswers.AttributeID = PARENTROLL
  4. On the Grouping tab, select:
    • CSAnswers.Value
  5. In the Results Grid, use CSAnswers.Value instead of the virtual AttributePARENTROLL field.
Translate

Forum|alt.badge.img
  • Author
  • Freshman II
  • August 25, 2026

​@mohammadnawaz51 

i did what you said.

 

it worked but i just got only one record

 

Translate

KrunalDoshi
Pro I
Forum|alt.badge.img+9

Hi ​@SandyA,

You can join AttributeId from CSAnswer to the actual AttributeID as in below screenshot.

This will give you the desired output, group by PARENTROLL.

 

Translate

Forum|alt.badge.img
  • Author
  • Freshman II
  • August 25, 2026

​@KrunalDoshi ​@BenjaminCrisman ​@lauraj46 ​@mohammadnawaz51 

thank all guys for you help

Translate