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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
RanHo
Helper V
Helper V

COLUMN DATA IN A MATRIX

Good day!

Can someone help me how I can do this? Like I have a data in a column which I want to show in a matrix here is example:

Capture.PNG


Best Regards,
Ran

1 ACCEPTED SOLUTION
datagnan
Frequent Visitor

Hi @RanHo 

Your data is incomplete. You need to add a 'Date' and 'Type' column to the dataset. Like so:

datagnan_0-1645082815162.png

 

For the MonthSort column, first click on 'Date' column and choose 'Date' data type, then click 'Add new column' and type:

MonthSort = MONTH([Date])

After, you need to click on Month column and choose Sort By Column - 'MonthSort'.


Then when your dataset is ready, put 'Month' in Rows, 'Type' in Columns and 'Product' in Values, then click the down arrow on Products and choose count.
End result:

datagnan_1-1645083096118.png

 




 

View solution in original post

4 REPLIES 4
v-jayw-msft
Community Support
Community Support

Hi @RanHo ,

 

I guess a month/date column is missing from the table.

Put month column in Row and products column in Column.

Then create a slicer by using farm column.

 

Best Regards,

Jay

Community Support Team _ Jay
If this post helps, then please consider Accept it as the solution
to help the other members find it.
datagnan
Frequent Visitor

Hi @RanHo 

Your data is incomplete. You need to add a 'Date' and 'Type' column to the dataset. Like so:

datagnan_0-1645082815162.png

 

For the MonthSort column, first click on 'Date' column and choose 'Date' data type, then click 'Add new column' and type:

MonthSort = MONTH([Date])

After, you need to click on Month column and choose Sort By Column - 'MonthSort'.


Then when your dataset is ready, put 'Month' in Rows, 'Type' in Columns and 'Product' in Values, then click the down arrow on Products and choose count.
End result:

datagnan_1-1645083096118.png

 




 

PijushRoy
Super User
Super User

Hi @RanHo 

Paste some sample data...




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

Proud to be a Super User!





amitchandak
Super User
Super User

@RanHo , Matrix visual

Product on column

Month on row

 

and Farm in slicer

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-matrix-visual

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.