Forum Discussion

Syndicate_Admin's avatar
Syndicate_Admin
Icon for Administrator rankAdministrator
3 years ago

Belonging to two groups

Hello

I have the following zone table

What I want is to show in a table the following

With a segmentation I want to choose the zone/representative and show the sales of the chosen area.

The problem is that there are areas like Barcelona, which apart from having more subzones (here there is no problem since when I choose Barcelona the subzones come out), is that they also belong to a representative, in conclusion, Barcelona belongs to Barcelona delegation and a representative.

How can I indicate in the table of zones that Barcelona belongs to two groups and so from a segmentation to choose either barcelona as a delegation or barcelona as a representative (only barcelona will come out and not the subzones.)

Thank you.

3 Replies

  • Hello

    I may have explained it wrong, but I already provided the data.

    Let me explain myself again.

    I have a table with many zones, but there are zones that must belong to a "DelegationX" and also to a "DelegationXXX". I want to have a segmentation where I can choose the different delegations

    Example: The Albacete area belongs to "Delegacion Valencia" and must also belong to "Delegacion Valencia 2". The data that must come out are the same regardless of the delegation you choose, but I must be able to choose each delegation separately.

    To do this, I have a table with all the zones and a column where I put which delegation belongs, the problem as I commented, is how I can tell the table that a zone belongs to more than one delegation.

    The table currently:

    Thank you.

    • lbendlin's avatar
      lbendlin
      Icon for Super User rankSuper User

      please provide the sample data in usable format.  A screenshot is not usable.