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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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