Forum Discussion

ERing's avatar
ERing
Icon for Post Partisan rankPost Partisan
1 year ago
Solved

How to create merged column headers in Matrix visual?

I would like to create a Matrix visual that looks like below where I have merged column headers (cars, trucks, suv's).

How can I add the merged headers?

  • Do those tables share the same structure? If they do, it would be better to combine them into a single table with an additional column to indicate the vehicle type. You can use the append feature in the query editor.

5 Replies

  • ERing In a matrix visual, whatever the column stores the value "Car/Truck/SUV" will be on the column, in the value section, you will use measures (actual/baseline/data) and the rows will have the location column.

    • ERing's avatar
      ERing
      Icon for Post Partisan rankPost Partisan

      My data for each category (cars, trucks, & suv's) are in different tables. So I have a "cars" table, a "trucks" table, and an "suv" table.

      I don't have a column that stores "car, truck, suv" values.

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

        Do those tables share the same structure? If they do, it would be better to combine them into a single table with an additional column to indicate the vehicle type. You can use the append feature in the query editor.

  • I wish you have explained it upfront. Better to combine (append) these tables  as one table and then use what I suggested in my original reply. 

  • v-sdhruv's avatar
    v-sdhruv
    Icon for Community Support rankCommunity Support

    Hi ERing 
    Just wanted to check if you had the opportunity to review the suggestion provided?
    If the response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
    Thank You