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
Power_MN
Helper I
Helper I

Problem with matrix

Hello together, I'm facing following problem: I want to create a table/matrix like this: column: Year (2018, 2019, 2020, 2021) Values: Sales (2Mio$ etc.) But the Sales are divided into B2B & B2C. So I need tow seperate rows in the table/matrix. Have you got any ideas? Kind regards!
1 ACCEPTED SOLUTION

Hi @Power_MN ,

 

If your data consist of this value then you just simply need to turn on the option for show on rows.

 

Matrix setup:

  • Column: Years
  • Values: B2B, B2C
  • Turn on Show on rows

MFelix_0-1635148471869.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

4 REPLIES 4
v-shex-msft
Community Support
Community Support

Hi @Power_MN,

Did MFelix 's suggestions help with your scenario? if that is the case, you can consider Kudo or accept the helpful suggestions to help others who faced similar requirements.

If these also don't help, please share more detailed information to help us clarify your scenario to test.

How to Get Your Question Answered Quickly 

Regards,

Xiaoxin Sheng

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

Hi @Power_MN ,

 

This depends on your data model, but if you have a table with the setup below you just need to add the values into a matrix visualization:

  • Table
    • Year
    • Sales
    • Category

The category is your B2B & B2C

 

Your matrix should be done with the following format:

 

  • Columns: Year
  • Rows: Category
  • Value: Sales

If this does not work or the information is not in the format I have provided can you share some more insights on your model?

 

Can you please share a mockup data or sample of your PBIX file. You can use a onedrive, google drive, we transfer or similar link to upload your files.

If the information is sensitive please share it trough private message.


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



@MFelix thanks for your help. My Dataset consists of three columns: Year, Sales B2B and Sales B2C. Thats it. Kind regards!

Hi @Power_MN ,

 

If your data consist of this value then you just simply need to turn on the option for show on rows.

 

Matrix setup:

  • Column: Years
  • Values: B2B, B2C
  • Turn on Show on rows

MFelix_0-1635148471869.png

 


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



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.