Forum Discussion

Mike282's avatar
Mike282
Icon for Helper III rankHelper III
9 years ago
Solved

Expanding Tables/Records that are multi-select fields

Hi 

 

Quick question. I've got a datset with combined tables and records that when expanded against the main table, increases the number of rows or records due to the fact that these condensed tables are from a multi-select field. As an example if the the multi select field in Record #1 has a multi-select field field value of Value #1 and Value #2, when expanding that table, it would create two rows of records:

Record #1 Value #1

Record #1 Value #2

 

Is there a way to pivot this so that it doesn't duplicate the record numbers based on each item selected in a multi-select field?

 

Thanks heaps.

Mike

  • Mike282,

     

    Hi Mike,

     

    How to deal with the multi-values? Keep the first row (record)? Or count them? Let's see an example:

    ComID	Company	
    c1	Microsoft	
    		
    EmpID	ComID	EmpName
    e1	c1	Jack
    e2	c1	John
    e3	c1	Sam

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    One row will turn to three rows after expanding. What do you want to deal with the other two rows?

    Maybe here is your option. 

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Best Regard!

    Dale

1 Reply

  • v-jiascu-msft's avatar
    v-jiascu-msft
    Icon for Microsoft Employee rankMicrosoft Employee

    Mike282,

     

    Hi Mike,

     

    How to deal with the multi-values? Keep the first row (record)? Or count them? Let's see an example:

    ComID	Company	
    c1	Microsoft	
    		
    EmpID	ComID	EmpName
    e1	c1	Jack
    e2	c1	John
    e3	c1	Sam

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    One row will turn to three rows after expanding. What do you want to deal with the other two rows?

    Maybe here is your option. 

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    Best Regard!

    Dale