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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.