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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
Anonymous
Not applicable

Displaying a summation of data by week of month and feild

I have a data table in a sharepoint list. It contains three columns: 1) Name 2) Date 3) Quantity of fruit purchased

 

I want to sum the quanity of fruit purchased by each person in a given given week. i would then want to display it like the following. Whats the best way to do it? 

 

 January January January January 
 Week 1 (1st- 7th)Week 2 (8th-14th)Week 3 (15-21)Week 4 (22-29th)
Person A100,000030
Person B02400,0000
Person C5,000010

 

 

 FebFebFebFeb
 Week 1 (30th Jan- 5th)Week 2 (8th-14th)Week 3 (15-21)Week 4 (22-29th)
Person A100,000030
Person B02400,0000
Person C5,000010

 

So on and so forth.

 

I have a Matrix table that show by year, quater, month and date. But I would need standalone tables that can disolay it like above. 

1 REPLY 1
lbendlin
Super User
Super User

Use a calendar table in your data model.  Most likely you want to maintain that outside of Power BI to accomodate your special week mapping logic.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors