Total Count for number of items based on parent and type

Options
1635834
1635834 Member, Partner, Certified Model Builder Posts: 5 Contributor

Hi

I am having an accounts lists (A1,A2...A5,B1,B2...B5) with Parent(Accounts) as A,B and parent(parent(Accounts)) as X. Type of accounts are Type A, Type B.

 

If user(A,B,X) selects an account then the number of accounts under the particular user with same type should be display in target.

For example, if User A selects an Account A1 then the target should display as 3 because the number of accounts(A1,A2...A5) under User A having same type(Type A) are 3.

If User X selects an Account A2 then the target should display as 6 because the number of accounts(A1,A2..A5,B1,B2..B5) under User X having same type(Type A) are 6.

 

Please find below ex 

  AccountsParent(Parent(Accounts))Parent (Accounts)Who is working(Formulatted,User)SelectCountTypeTarget
X         
 A        
  A1XAATRUE1Type A3
  A2XAXTRUE1Type A6
  A3XA  1Type A 
  A4XA  1Type B 
  A5XA  1Type B 
          
 B        
  B1XBBTRUE1Type A3
  B2XBXTRUE1Type A6
  B3XB  1Type A 
  B4XB  1Type B 
  B5XB  1Type B 

 

Regards

Shirisha.

 

 

Tagged:

Comments

  • 1635834
    1635834 Member, Partner, Certified Model Builder Posts: 5 Contributor

    @mburdak 

     

    The associated module is not having Users list as dimension and users is not default it is custom users list in our model.

     

    Selective access is enabled for parent level of accounts(X,A,B from the provided example). There is a module with User list(custom) are mapped with Parent list items.

     

    Regards

    Shirisha.

  • 1635834
    1635834 Member, Partner, Certified Model Builder Posts: 5 Contributor

    @mburdak 

     

    I am facing one issue here. As per below solution I am getting the number of accounts which are under the particular user and Type. But I need another combination as well i.e., Category.

     

    So in the 4th step i.e., Account Type Count module in your example, I will be including another dimension i.e., Category as well. I have enhanced the logic as [sum:Category] and the logic and everything is working fine but due to 3 dimensions in the module it is occupying lot of space and performance is decreasing.

     

    So, do you have any other way to implement this.

     

    Regards

    Shirisha.