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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have a SQL table i am querying using direct query which dispays sales data for current month up to the current day and same peiod previous month.
However the table is displaying dates past today. The old import column used the following formula:
DATE = CALENDAR (MINX('order_header', [Order Date]), NOW())
This does not work in direct query.
How do i achive same result?
Hi @CraigBlackman,
Were you attempting to create a calendar table using the formula above when connecting to SQL server in Direct Query mode? However, this is not supported roght now, as the "New Table" feature is disabled. To work around your issue, I think you should create that calendar table within SQL Server database, then load data to PowerBI as datasource.
Besides, someone has submitted this request, you can click here and vote it up.
Thanks,
Yuliana Gu
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 54 | |
| 41 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 106 | |
| 99 | |
| 38 | |
| 29 | |
| 28 |