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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Calculate total weeks sales

I have tried several mesures and suggestions but can not figure this out.  My table has date week number and daily sales.

 

i want to calculate or create a col;unm that totals the whole weeks sales.  I have 7 week 12 entries as the week number is returned for each date entry.  Please help Screenshot 2019-12-12 at 10.37.45.png

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

@Anonymous 

 

By the looks of it you are actually getting the sum of sales by week (see second column: "Week Totals"). So what is it you are after?

If you create a table removing the Day column (and possibly the "daily totals Mes") you will get a table with only one  Line/value per week.

Or use a matrix visual instead of a table visual





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

3 REPLIES 3
PaulDBrown
Community Champion
Community Champion

@Anonymous 

 

By the looks of it you are actually getting the sum of sales by week (see second column: "Week Totals"). So what is it you are after?

If you create a table removing the Day column (and possibly the "daily totals Mes") you will get a table with only one  Line/value per week.

Or use a matrix visual instead of a table visual





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Anonymous
Not applicable

The Column ‘week totals’ is only returning the daily sales and not calculating the whole weeks sales in essence I need all 7 entries with the same week number to be calculated to make a total for that fiscal week. The week number recycles every year so will have to be separate for each fiscal year.

@Anonymous 

 

 

Ok... so what is your model structure? What column is the daily sales in? What relationship does your dCalender table have with your sales table?





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.