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

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.

Reply
Datahungry
Frequent Visitor

Verifying files for errors before import into PowerBI

Hi everyone,

 

I am using a folder as the "source data" for a power bi report. This folder is supposed to contains multiple files, all using the same columns, so that PowerBI can merge them properly.

 

However, users are making the following mistakes:

- entering two records with the same primary key in the same file

- creating records for which there's no dimension (ex: Sales for Customer XYZ, when there's no customer XYZ in the corresponding Dimension table.

 

Is there a way to verify files before import, to make sure no errors exist in the data, a get a list of errors to address? Specifically

- Identify duplicate primary keys.

- missing dimensions

- Identify wrong datatype (ex: text where there should be date)

- files with mismatching columns

 

Thanks in advance

 

1 ACCEPTED SOLUTION
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Datahungry,

Based on my research, I am afraid you could not achieve these features currently, you could summit an idea in ideas forum:

https://ideas.powerbi.com/forums/265200-power-bi-ideas

Or you could use the query editor in Power BI Desktop to clean your data before you import your data to the data model:

https://docs.microsoft.com/en-us/power-bi/guided-learning/gettingdata?tutorial-step=4

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Datahungry
Frequent Visitor

Understood. Thank you for your support.
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Datahungry,

Could you please tell me if your problem has been solved? If it is, could you please mark the helpful replies as Answered to close this topic?

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-danhe-msft
Microsoft Employee
Microsoft Employee

Hi @Datahungry,

Based on my research, I am afraid you could not achieve these features currently, you could summit an idea in ideas forum:

https://ideas.powerbi.com/forums/265200-power-bi-ideas

Or you could use the query editor in Power BI Desktop to clean your data before you import your data to the data model:

https://docs.microsoft.com/en-us/power-bi/guided-learning/gettingdata?tutorial-step=4

 

Regards,

Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Community Champion
Community Champion

Might be able to do something like that in R or Python perhaps. Are you thinking a pre-process or as part of the query?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Right now I have no solution, so either would be helpful Smiley Happy

 

Is it possible to accomplish both?

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.