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
TamilselviK
Helper I
Helper I

Native Query is not working for Mail attachment as Data Source

Hi All,

 

My Data source is a mail attachment - .txt file, I am using Native query to push this attachment data to SQL server. I can accomplish this when i run it from power bi desktop. Data are getting loaded into SQL server. I published this to Power BI Service though the schedule run says its completed but the data are not getting loaded into SQL server. 

I tried to create same in Power BI dataflows but here i'm receiving below error.

TamilselviK_0-1630590193161.png

 

Regards,

Tamilselvi K

7 REPLIES 7
v-janeyg-msft
Community Support
Community Support

Hi, @TamilselviK 

 

The way you tried before should not support txt type. So why don't you directly import the txt file in powerbi? 

Reference:

Get Data from Text File to Power BI (tutorialgateway.org)

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.


Best Regards,

Community Support Team _ Janey

v-janeyg-msft
Community Support
Community Support

Hi, @TamilselviK 

 

Can you share how you do it? Why not import it directly into powerbi?

I doubt that it doesn't support .txt files, usually the data source needs to support Query folding.

Reference:

Import data from a database using native database query | Microsoft Docs

Did I answer your question ? Please mark my reply as solution. Thank you very much.
If not, please feel free to ask me.


Best Regards,

Community Support Team _ Janey

I'm exporting data to SQL Server

Hi, @TamilselviK 

 

So what data source do you consider now and do you still have problems?

 

Did I answer your question ? Please mark my reply as solution. Thank you very much.

If problem still persists, pls let me know.

 

Best Regards,

Community Support Team _ Janey

I consider .txt file type and issue is not resolved

GilbertQ
Super User
Super User

Hi @TamilselviK 

 

Can you confirm that you have got the latest version of the On-Premise Gateway installed?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

I'm not using gateway.

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.

Top Solution Authors
Top Kudoed Authors