How to count booleans?

Options
CommunityMember131289
CommunityMember131289 Member, ALL USERS Posts: 1 New Contributor

Hi - I am trying to create a graph where it displays the number of items selected by the user. These items are marked through booleans. Is there a way where I can count how many items are selected per category using the booleans?

 

Thanks!

Comments

  • CommunityMember125037
    CommunityMember125037 Member, ALL USERS, Partner, Community Member Posts: 4 Occasional Contributor

    Hi,

     

    Create a new line item in the module. 

    Write the below condition.

    IF boolean = true then 1 else 0 

    The summary line item should give you the number of booleans in the Boolean line item. 

     

    Thanks

     

    Neel