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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Typical_Analyst
New Member

Weekly Calculation With YoY aspect

Hello,

 

I'm trying to take a table with the structure of the following:

DataTableProblem.png

 

I'm trying to create an output to resemble the following table and graph:

DataTableProblemOutput.png

 

I keep running into the problem with due to not every product having a date within a week that my max/min for a week beginning and end are not the same for all products. Do I need to create a calandar table to link and calculate my measures off of or is there a way to do this without a calandar table?

 

Thanks

1 REPLY 1
_AAndrade
Super User
Super User

Create a date calendar and make a relationship with date calendar and date of your fact table.

Using a simple measure of sum of dolar (or a sumx if the dollar column is unit price) and you will be able do build your chart like you want





Did I answer your question? Mark my post as a solution! Kudos are welcome.

Proud to be a Super User!




Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors