How to implement it in interface using grid?

Hi Team,

Can anyone please help me how can I implement the case given below in interface using grid:

Col A Count Col B
a 1
a 2
a 1
Total a 4
b 1
b 2
Total b 3

It should display the count of col A for each category. Any other suggestions might be helpful. 

  Discussion posts and replies are publicly visible

Parents
  • Hi Shubham,

    I agree with others, you can create an internal CDT (not mapped to any table) with the required fields.

    Create an expression rule and map you required data using two variables - one retrieving the data (a and b) and the other retrieving the aggregate data (Total a, Total b).

    Then map your required data in the internal CDT with a!forEach()

    In the interface map a local variable with the Expression Rule and use this local variable as data in grid.

    Regards,

    Farnaz

Reply
  • Hi Shubham,

    I agree with others, you can create an internal CDT (not mapped to any table) with the required fields.

    Create an expression rule and map you required data using two variables - one retrieving the data (a and b) and the other retrieving the aggregate data (Total a, Total b).

    Then map your required data in the internal CDT with a!forEach()

    In the interface map a local variable with the Expression Rule and use this local variable as data in grid.

    Regards,

    Farnaz

Children
No Data