Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi Everyone,
I am using DirectQuery to access data in a PostgreSQL database with millions of rows. I'm accessing about 10 different tables and trying to make reports using them. One of them is current week vs previous week revenue. However, I am having some trouble using the DAX calculations to form weeks.
As seen below, the "reportdate" I would like to access is in the "public_fact_sales_detail" table. However, Power BI is telling me it cannot find the table, but it is the home table shown in the circled area below. Why are the DAX not recognizing any of my tables in DirectQuery?
Kind regards
Dylan
Hi @dylanndengu,
Here is the modeling limitation of DQ.
Although import mode has complete modeling capabilities, it is slow to import data.
You can model in SQL SERVER Analysis Services.
Then Connect to Analysis Services tabular data with Live Connection in Power BI Desktop.
You can refer:
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-analysis-services-tabular-data
Best Regards,
Link
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
@dylanndengu , I see a space above and I see a _ below after public
Also not all column operation are supported on direct query
Hi again @amitchandak, noted the change but I still can't access the table for DAX calculations. Alternatively, would you have any suggestion as to how I could import the data into Power BI quickly? Because it takes at least 2 hours or so to import all the data from PostgreSQL. Even after it is imported, it then can take an hour to refresh the next day.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 17 | |
| 13 | |
| 13 |
| User | Count |
|---|---|
| 62 | |
| 41 | |
| 39 | |
| 38 | |
| 38 |