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

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

Reply
enath
Helper I
Helper I

pre filter data before import to power BI (xml & json)

Hello

 

I have a folder with data with many different format.
I would to pre filter my data in order to take only xml or only json before loading the data in the power BI. 

Thanks for your help.

6 REPLIES 6
enath
Helper I
Helper I

Thanks.
This is what I am doing already. 
Is there is a way to pre filter before loading the data to transform data ?

@enath 

Sorry, that is the only place to filter.


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

thee thing is that importing the data and filter it is super super long........

@enath 

Not quite sure how the process takes so long for you. Anyhow, you can create an idea share you thought here: https://ideas.powerbi.com/ideas/


Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

there is so many data and not only json or xml... so the import is too long.

Is there is a way to prepare a dataset via python and then to insert the dataset in the power BI?

Fowmy
Super User
Super User

@enath 
Hope you are using the FOLDER connector to connect to the location. when you connect and click transform in the preview window, you will see the first screen in power Query, click on the extension column and filter the file types you need to use.

Fowmy_0-1638282980872.png

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors