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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Priyak
New Member

facing matrix column and row value issue

I have one table in that table i have four column

Column Id

Column Sales

Column Profit

Column Period

Filter-Reporting Period

 

Using matrix chart I put the following column

Rows=Id

Columns=Period

Values=Sales,Profit

    

Original Data

Id   Sales Profit   Period  Reporting Period

1     10    101      2013        18-Mar

1     20    201      2014        18-Apr

1     30    301      2015

1     40    401      2016

2     50    501      2017

3    60     601     2018

 

Expected Output

Id   Sales  2013   2014   2015  2016   2017  2018   Reprting Period

 1   10      101      201     301     401     -        -          18-Apr

 

Current Output

Id   Sales  2013   2014   2015   2016   2017  2018   Reprting Period

 1     10     101    201     301    401       -         -           18-Apr

        20

        30

        40

5 REPLIES 5
v-shex-msft
Community Support
Community Support

Hi @Priyak,

 

It seems like matrix works on my side, can you please share a sample pbix file which can reproduce your issue?

11.PNG

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

Hi,

Thanks for the reply but if you see desired output is not samethere are blank values in the Id 2 and 3 for 2017 and 2018 data is coming in seperate row we would like to merge them with the 2017 and 22018 with ID 1 so that we get all the data in one single row and column in not coming under Years header.

 

Request you to please us with the same.

Hi @Anonymous,

 

You can drag sales column to rows field, then drill row to bottom level, then your records will summary with id, sales as category label.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Anonymous
Not applicable

Can we add measure into the row of the matrix becuase i am not able to do the same.

Hi @Anonymous,

 

Nope, measure can't use on row fields as category label.

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors