How to get the sub heading column in Power BI?

4.5k Views Asked by At

Expected Matrix in Power BI

The above is the expected matrix in Power BI. I have to get the additional heading "MED" and "RX" for the columns "Paid" and "Unpaid" as shown in the matrix.

Table Schema

The above is the actual table schema, which is connected to get the data into the matrix.

How to get the column heading "MED" and "RX" in Matrix?

1

There are 1 best solutions below

0
Andrey Nikolov On

You should put MED/RX and Paid/Unpaid attributes in separate columns, so make sure the data is transformed to look like this:

enter image description here

Then put Insurance to the rows of the matrix, Type and Paid as columns and Values as values, and enable the drill mode:

enter image description here