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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi
I have sales table which comes from database. It starts from 2012. My sales table as follow
I have created a date table as follow
I connected the date table and sales table through date. I am trying to create a table by dragging Month from date table and sales from sales table. However, I am getting below empty one
Can anyone advise please?
Here is the sample pbix file https://we.tl/t-rARbRR4HEO
Solved! Go to Solution.
Hi,
In the Query Editor, seperate the date and time into 2 columns. Then create a Calendar Table from the Date column. Create a relationship from the Date column of the data table to the Date column of the Calendar Table. In the Calendar table, extract Year, Month name and Month number using calculated column formulas. Sort the Month name by the month number. To your visual, drag Year and month name from the Calendar Table.
Hope this helps.
Hi,
In the Query Editor, seperate the date and time into 2 columns. Then create a Calendar Table from the Date column. Create a relationship from the Date column of the data table to the Date column of the Calendar Table. In the Calendar table, extract Year, Month name and Month number using calculated column formulas. Sort the Month name by the month number. To your visual, drag Year and month name from the Calendar Table.
Hope this helps.
You probably created the date as a copy of the Sales[Date] column and changed the datatype. Seems sensible but doesn't work.
Try
I haven't looked at the file but it will almost certainly be the dates not matching because they have times in the Fact table. So create another column in the Fact table which is just the date (without time) and use that in the relationship.
Let me know how you get on
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 103 | |
| 79 | |
| 57 | |
| 51 | |
| 46 |