Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
RAHULBANDI
Helper II
Helper II

***Create Double headers Matrix***

Hi Team,

I'm looking to create Double Headers in Power bi Matrix, 

data:

Sale DateType of SaleCustomer NameSale AmountUnits Purchased
1-Jan-22OnlineCustomer19258153
1-Jan-22OnlineCustomer222933173
1-Jan-22OnlineCustomer3310909120
1-Jan-22OnlineCustomer373247155
1-Jan-22OnlineCustomer671747197
1-Jan-22OnlineCustomer676217159
1-Jan-22OnlineCustomer681435102
1-Jan-22OfflineCustomer684967135
1-Jan-22OnlineCustomer83500184
2-Jan-22OfflineCustomer135657113
2-Jan-22OnlineCustomer355180113
2-Jan-22OnlineCustomer515614167
2-Jan-22OnlineCustomer532379155
2-Jan-22OfflineCustomer692294122
2-Jan-22OnlineCustomer698405149
2-Jan-22OfflineCustomer694520102
2-Jan-22OfflineCustomer6917307147
2-Jan-22OnlineCustomer69920170
2-Jan-22OfflineCustomer692909177

 

Expected Output: 

 

RAHULBANDI_0-1663305664108.png

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

This can be done but it needs lots of extra work and compromises (for example you lose the formatting). it would be much simpler if you changed the column order.

 

lbendlin_0-1663456873234.png

See attached for the implementation via crossjoin.

View solution in original post

5 REPLIES 5
lbendlin
Super User
Super User

In your matrix visual click the fork icon. 

lbendlin_0-1663608129355.png

 

 

lbendlin
Super User
Super User

This can be done but it needs lots of extra work and compromises (for example you lose the formatting). it would be much simpler if you changed the column order.

 

lbendlin_0-1663456873234.png

See attached for the implementation via crossjoin.

Hi

Thq for your response 

I ahve used complex approach

I have applied same dax, whic you have given

but im receiving the expected output

could you please specify is there any additional changes i need to make in visualization pane

 

RAHULBANDI_0-1663600939408.pngRAHULBANDI_1-1663600959333.png

 

 

 

You need to apply the crossjoin as well. Have you done that?

Yes i have applied for the CrossJoin

 

RAHULBANDI_0-1663607169064.png

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.