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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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