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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
David1205
Frequent Visitor

Incorrect values in table imported from Microsoft Access

Hello everyone,

I have the following problem: I have imported a table from Microsoft Access into Power BI Desktop. Among other things, this table contains the column "Value".

Now I have noticed that the imported table in Power BI Desktop displays different values in the "Value" column than in the original table in Microsoft Access.

The "Value" column has the same data type in both tables (both in Power BI Desktop and in Access).

Can you help me? Why do I have a discrepancy between Power BI Desktop and Access?

Thank you very much for your help!

David

2 ACCEPTED SOLUTIONS
HotChilli
Super User
Super User

Thank you for that.  I don't have an immediate answer for you but I think we can start from an assumption that powerbi has not suddenly started applying random factors when importing from Access.

Here's what I would do.
1. Attempt to completely confirm that we are looking at the same row. Can do this by importing all the data to powerbi and looking at rows in Data View.

2. Focus attention on the particular column in Access.  The nearby column BUCH_MON shows no problems. Is the Value field a calculated field? Is there any manipulation of the column taking place in Access (Date or time-related calculations, maybe?) Can you remove all formatting in Access and make all fields text type then import (either as Access or csv? 

These are the sort of things I would look at

 

View solution in original post

Hi HotChilli,

thank you for your reply. I have found the solution: In the query in Microsoft Access, I filtered a text column using * in the criteria section of the design view: for example [Not like "* DL *].

I noticed that Power BI does not recognize the * and needs % instead. If I replace all * with a % in the criteria area in Microsoft Access, the filter also works in Power BI: For example [Not like "% DL %"]

View solution in original post

5 REPLIES 5
HotChilli
Super User
Super User

Thank you for that.  I don't have an immediate answer for you but I think we can start from an assumption that powerbi has not suddenly started applying random factors when importing from Access.

Here's what I would do.
1. Attempt to completely confirm that we are looking at the same row. Can do this by importing all the data to powerbi and looking at rows in Data View.

2. Focus attention on the particular column in Access.  The nearby column BUCH_MON shows no problems. Is the Value field a calculated field? Is there any manipulation of the column taking place in Access (Date or time-related calculations, maybe?) Can you remove all formatting in Access and make all fields text type then import (either as Access or csv? 

These are the sort of things I would look at

 

Hi HotChilli,

thank you for your reply. I have found the solution: In the query in Microsoft Access, I filtered a text column using * in the criteria section of the design view: for example [Not like "* DL *].

I noticed that Power BI does not recognize the * and needs % instead. If I replace all * with a % in the criteria area in Microsoft Access, the filter also works in Power BI: For example [Not like "% DL %"]

HotChilli
Super User
Super User

Can you show the evidence please? The same rows in Power Query and Access. And any transforms in Power Query.

And that's the code from the extended editor:

 

let
Quelle = Access.Database(File.Contents("\\fs011\daten\Reports\Controller's_Book\Reports\Vacir\Power BI_Servicereport\Servicereport_PowerBI.accdb"), [CreateNavigationProperties=true]),
_qDL_Servicereport_Vorlage_Annehmerstatistik_PowerBI_End = Quelle{[Schema="",Item="qDL_Servicereport_Vorlage_Annehmerstatistik_PowerBI_End"]}[Data]
in
_qDL_Servicereport_Vorlage_Annehmerstatistik_PowerBI_End

Table in Power BI Desktop:

David1205_1-1702381492022.png

 

Origin table in Microsoft Access:

David1205_2-1702381570317.png

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.