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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.