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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
stankda
Frequent Visitor

How to show data agregated monthly by weeks

Hi!

I have a table with target for each month. It is connected with calendar table with calendar id as and integer from first date of that month. For example target for january have calendar id - 20220101. 

 

Now I have a visual where sales data is being displayed weekly. I would like to show targets on that visual as well - for example target for january should be displayed for all weeks of january. 

 

How should I set up my model or write DAX in order to achieve that without duplicating my targets table and disaggragating it? 

 

Best regards

2 REPLIES 2
TomMartens
Super User
Super User

Hey @stankda ,

 

this article covers how to setup your model and also provides some DAX examples on how to (re)-allocate values if there are different granularities: https://www.daxpatterns.com/budget/

If the techniques covered in the article can not be applied to tackle your challenge. Provide a pbix that contains sample data but still reflects your data model (tables, relationships, calculated columns, measures). Upload the pbix file to onedrive or dropbox and share the link. If you are using Excel to create the sample data instead of using the manual input method, share the xlsx as well.

 

Hopefully, this provides some new ideas on how to tackle your challenge.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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