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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Jyo27
Helper II
Helper II

Calculation

Hi Everyone . I need help regarding calculation .How to calculate total quantity per category per week ?Appreciate your help. Below is the chart for your reference.

 

 

Jyo27_1-1668344746957.png

 

1 ACCEPTED SOLUTION

1) You need a date table with two columns: Date and Weeknumber. 

2) Connect two Date Columns from two tables. 

3) Then plot a Matrix visual, put Weeknumber to Columns, Category to Rows, Total quantity to Values.

View solution in original post

7 REPLIES 7
Jyo27
Helper II
Helper II

Jyo27_0-1668349070297.png

 

1) You need a date table with two columns: Date and Weeknumber. 

2) Connect two Date Columns from two tables. 

3) Then plot a Matrix visual, put Weeknumber to Columns, Category to Rows, Total quantity to Values.

Thank you .Got it.

Jyo27
Helper II
Helper II

Lets say A category has total quantity of 2 in week 13 , 3 in week 12 and so on .

How does your raw data look like?

Jyo27
Helper II
Helper II

Yes this the expected result .Need to calculate total quantity per week 

FreemanZ
Super User
Super User

Is it the expected result? How does your raw data look like?

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors