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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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