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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
BPTBPTBPT
Helper II
Helper II

How to get my graph on a By Week basis?

I would like to make a graph showing how many documents are created per week.

I have a table for these documents with a column that shows the date created for each document.

 

I also created a date table using this tutorial: https://www.youtube.com/watch?v=mLiPm82GRUo&ab_channel=EnterpriseDNA

 

But.. How do I proceed? I though using the week column from the date table on the X-axis and the 'date created'' column on the y-axis would do the trick, But then I get a graph that just shows the same value for every week:

 

Screenshot_1.png

3 REPLIES 3
Anonymous
Not applicable

Hi @BPTBPTBPT ,

 

From your screenshot, it seems that the dates in the calendar table do not create a relationship with the dates in the main table.

Create and manage relationships in Power BI Desktop - Power BI | Microsoft Docs

 

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Ashish_Mathur
Super User
Super User

Hi,

In the Date Table, create columns for Week and Year.  To the x-axis of your visual, drag Year and Week from the Date Table.  Write this measure

Measure = countrows(Data)

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
VahidDM
Super User
Super User

Hi @BPTBPTBPT 

 

Check this link, might be helpful:

 

https://www.vahiddm.com/post/weekly-time-intelligence-dax

 

If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
LinkedIn: 
www.linkedin.com/in/vahid-dm/

 

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.