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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
BERBATOV9
New Member

Matrix with 2 different fields in Rows headers

Hi All,

 

Purpose: Visualization of SALES by CATEGORY and YEAR/MONTH

Used visual: I have a matrix with this configuration:

  • Rows: Field "CATEGORY" from table ITEMS (10 distinct values of CATEGORY)
  • Columns: two fields YEAR and MONTH from table CALENDAR
  • Values: SUM of Sales from table SALES

Problem: Now in addition to CATEGORY, I would like to add a second field in the Rows --> this field is "Number of customers" from another table CUSTOMERSBYMONTH.

The targeted matrix should look like this : 

  • In column:
    • "Year/Month"s
  • In rows:
    •  In the first row --> "Number of customers" 
    • In the following rows: My 10 CATEGORies    
  • In cell values:
    • For the first row: Number of customers for the month
    • In the following rows: SALES for the month

 

Adding the field "Number of customers" in rows below CATEGORY isn't working!

 

Can anyone help me with this please?

 

Thanks! 

 

 

 

 

2 REPLIES 2
PijushRoy
Super User
Super User

Hi @BERBATOV9 

Please share sample data and expected visual (screenshot)
Please refer to - How to Get Your Question Answered Quickly

If possible - Please create a pbix that contains sample data but still reflects your semantic model (tables, relationships, calculated columns, and measures). Upload the pbix to OneDrive, Google Drive, or dropbox and share the link in this thread. If you are using a spreadsheet to create/import the sample data instead of the manual import method, share the spreadsheet as well. 

 Please hit the Thumbs Up 👍 button if this comment helps you.

Thanks
Pijush
Linkedin




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





Hi @PijushRoy 

Thanks for your quick response; For some reason, didn't receive notif!

Below is the expected Matrix visual.

 

  • In rows:
    •  In the first row --> "Number of customers" is from table CUSTOMERSBYMONTH
    • In the following rows: My 10 CATEGORies  from table 
  • In cell values:
    • For the first row:  Number of customers for the month (unique total value)
    • In the following rows: SALES for the month for the corresponding category

 

 

BERBATOV9_0-1709043262706.png

 

Thanks Again!

 

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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