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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
tejasp
Frequent Visitor

Getting NO data from Access Queries

Hi Team,

 

I am trying to get data from access queries, but the powerBi returns blank tables. I am using select queries from access.

 

 

image.png

 

image.png

 

2 REPLIES 2
TeigeGao
Solution Sage
Solution Sage

Hi @tejasp ,

The Access queries can be seen as a linked server, this may relate with some permission problem, for PowerBI, based on my test, it is still not supported to connect to a linked server, as a workaround, we can import the data to Access before importing the Access file to PowerBI.

Best Regards,

Teige

@TeigeGaothank you for your reply.

 

My main motive was to avoid creating another table to get the data, I performed more test and found that when I use multi-condition in a query then I am not able to get any data from a Query to PowerBi.
ex.: I can get data in PowerBi, if I did not use And (Group Like 'Agent-*')),

 

SELECT Year(CHATs.Date) AS [Year], Month(CHATs.Date) AS [Month], sum (CHATs.CHATs_Offered) AS Total_Contacts, Group
FROM CHATs
WHERE ((Year([CHATs].[Date])>='2019') And (Group Like 'Agent-*'))
GROUP BY Year(CHATs.Date), Month(CHATs.Date), Group;

 

Not sure if there is another way to write it to get in PowerBI.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.