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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. 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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

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.