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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
alpha2
New Member

Showing Multiple Measures after each other using Matrix

I have matrix showing 2 measures: Sales Qty and Sales amount € and I want to show them per City name on a daily basis. 

Currently this is the output:

 

City\Date01/08/2021 02/08/2021 
 Sales QtySales Amt €Sales QtySales Amt €
MST2002500015010000
NXR30036000120

85000

 

This is not how I want to look like. I would like to have the following:

City\Date01/08/202102/08/202101/08/202102/08/2021
 Sales QtySales QtySales Amt €Sales Amt €
MST2001502500010000
NXR30012036000

85000

 

Is there away of doing this ? 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @alpha2 ,

 

You can follow these steps to meet your needs:

1.Open Query Editor> Click the transform pane> Hold down the Ctrl key on your keyboard and select both the Sales Qty and Sales Amt columns >Click on the unpivot column above> Colse & Apply.

 

vcaitlynmstf_0-1630388176454.png

 

2.Then back to the report view, select the City as Row level, the Attribute and Date as column level, the Value as Value level, then clickvcaitlynmstf_2-1630388657109.png  to expand the matrix, you will get expected result.

 

vcaitlynmstf_1-1630388611705.png

 


A sample PBIX. for your reference is attached.

 

Hope it helps,


Community Support Team _ Caitlyn Yan

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @alpha2 ,

 

You can follow these steps to meet your needs:

1.Open Query Editor> Click the transform pane> Hold down the Ctrl key on your keyboard and select both the Sales Qty and Sales Amt columns >Click on the unpivot column above> Colse & Apply.

 

vcaitlynmstf_0-1630388176454.png

 

2.Then back to the report view, select the City as Row level, the Attribute and Date as column level, the Value as Value level, then clickvcaitlynmstf_2-1630388657109.png  to expand the matrix, you will get expected result.

 

vcaitlynmstf_1-1630388611705.png

 


A sample PBIX. for your reference is attached.

 

Hope it helps,


Community Support Team _ Caitlyn Yan

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@alpha2 , I doubt that is possible. As workaround you unpivot the table and move sale amt and sales qry in rows and then you need to use the column having these values in the matrix above date

 

refer

column header grouping
https://www.daxpatterns.com/dynamic-segmentation/
https://community.powerbi.com/t5/Desktop/Matrix-Display-Values-above-Columns/td-p/256905

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.

Top Solution Authors