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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Categorize data by week number using by date

Hi, our client currently has an Excel sheet wherein they count customers using a specific category by date (see screenshot below). 

 

CJLastimosa_0-1678662281575.png


I'm new to Power BI so I'm wondering if it's possible to recreate this layout. Thank you.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous,

You can the 'week end date' as column, 'category' as row, 'name' field with aggregate mode 'count' on value to create a matrix visual to achieve your requirement.

Regards,

Xiaoxin Sheng

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , Select the first column and use unpivot other columns in Power query -> Transform Tab

Unpivot Data(Power Query): https://youtu.be/2HjkBtxSM0g

 

Power BI: Power Query Functions one must know
: https://www.youtube.com/watch?v=cN8AO3_vmlY&t=36407s

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak , I believe it's not a pivot column, they just manually added the numbers and just want me to replicate it in Power BI. The source looks like this.

CJLastimosa_0-1678679477433.png

 

Anonymous
Not applicable

Hi @Anonymous,

You can the 'week end date' as column, 'category' as row, 'name' field with aggregate mode 'count' on value to create a matrix visual to achieve your requirement.

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Thank you.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.