Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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:
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.
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.
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/
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.