Forum Discussion

briwhiz23's avatar
briwhiz23
Regular Visitor
1 year ago
Solved

Splitting data with overlapping values and then collating into a chart

Hi all. I have a Power BI dashboard that pulls in data from Airtable. In our tables (we have about 15), we have a "Responsible" field where you can tag one or more people. It pulls into Power BI like...
  • PhilipTreacy's avatar
    1 year ago

    briwhiz23 

     

    You have to create new rows to do this.  Creating new rows will mean your data is in a tabular format which is what you need for analysis.

     

    In Power Query when you split the names by delimiter, in the Advanced options choose to create new rows, rather than columns

     

     

     

    Regards

     

    Phil

  • Anonymous's avatar
    Anonymous
    1 year ago

    Thanks for the reply from PhilipTreacy , please allow me to provide another insight: 
    Hi  briwhiz23 ,

    I created some data:

    Here are the steps you can follow:

    1. You can create a calculation table containing the data needed for the X-axis of the clustered column chart.

    2. Create measure.

    Measure =
    var _vtable=
    DISTINCT(
    FILTER(
        CROSSJOIN(
            'Table','Group_Table'),
      FIND( 'Group_Table'[Group],'Table'[ASSIGEND TO],,BLANK()<>BLANK())))
    return
    COUNTX(
        FILTER(
            _vtable,[Group]=MAX('Group_Table'[Group])),[ASSIGEND TO])

    3. Result:

     

     

    Best Regards,

    Liu Yang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly