<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Send SQL Query Results to OneDrive as CSV to be consumed by Power BI - AugSQL				            </title>
            <link>https://www.augforums.com/forums/augsql/send-sql-query-results-to-onedrive-as-csv-to-be-consumed-by-power-bi/</link>
            <description>Acumatica User Group Forums</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 11 May 2026 15:45:57 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Send SQL Query Results to OneDrive as CSV to be consumed by Power BI</title>
                        <link>https://www.augforums.com/forums/augsql/send-sql-query-results-to-onedrive-as-csv-to-be-consumed-by-power-bi/#post-10793</link>
                        <pubDate>Mon, 17 Jul 2023 04:12:07 +0000</pubDate>
                        <description><![CDATA[This idea is to make it as easy as possible for you to consume Acumatica data in Microsoft Power BI.
 
This idea is the use case that initially got me thinking of creating AugSQL in the fi...]]></description>
                        <content:encoded><![CDATA[<p>This idea is to make it as easy as possible for you to consume Acumatica data in Microsoft Power BI.</p>
<p> </p>
<p>This idea is the use case that initially got me thinking of creating AugSQL in the first place so this idea is very near and dear to me.</p>
<p> </p>
<p>This idea would depend on the completion of these ideas:</p>
<p><a href="https://www.augforums.com/forums/augsql/saved-sql-queries" target="_blank" rel="noopener">https://www.augforums.com/forums/augsql/saved-sql-queries</a></p>
<p><a href="https://www.augforums.com/forums/augsql/scheduled-queries" target="_blank" rel="noopener">https://www.augforums.com/forums/augsql/scheduled-queries</a></p>
<p> </p>
<p>There are already products out there like <a href="https://www.dataself.com/dataself-etl-plus-data-warehouse/" target="_blank" rel="noopener"><strong>DataSelf ETL+ (click here)</strong></a> that allow you to schedule the refresh of your Acumatica data. DataSelf ETL+ pulls the Acumatica data over OData and puts it into a SQL Database. It only refreshes the data that changed since the last refresh since OData is really slow and refreshing all of the data could take forever. That's all really cool, but it requires you to have a SQL Database running somewhere that acts as your Data Warehouse.</p>
<p> </p>
<p>Instead of <span style="text-decoration: underline">pulling</span> Acumatica data over OData into a SQL Database, what if we could <span style="text-decoration: underline">push</span> Acumatica data into a CSV file in OneDrive? Most people already have OneDrive which includes 1TB of storage if you're on Office 365 so you have plenty of storage space. Actually, interestingly enough, Microsoft recently launched Microsoft Fabric and they created a new concept called OneLake which is a centralized way to store data. This idea would be using OneDrive as a Data Warehouse similar to the OneLake idea that Microsoft is promoting.</p>
<p> </p>
<p>If we could get the Acumatica data into OneDrive as a CSV, then Power BI can easily consume the CSV data. Actually, I did a test and it seems that Power BI can consume data stored in a CSV file in OneDrive twice as fast as it can consume data stored in a SQL Database. Here is my test:</p>
<p>https://youtu.be/YGCrkEkaEBI</p>
<p> </p>
<p>So, what if we could piggy-back on the <a href="https://www.augforums.com/forums/augsql/passing-parameters-to-sql-queries/" target="_blank" rel="noopener"><strong>Passing Parameters to SQL Queries idea (click here)</strong></a><span> idea and have a URL parameter option like <span style="text-decoration: underline">CSVtoOneDrive</span> which could be called like this:</span></p>
<p>https://mycompany.acumatica.com/Main?CompanyID=SalesDemo&amp;ScreenId=QQ900003&amp;Action=CSVtoOneDrive&amp;MyParam1=MyValue1&amp;MyParam2=MyValue2</p>
<p> </p>
<p>Calling that URL would automatically send the results of the SQL Query to OneDrive as a CSV.</p>
<p> </p>
<p>Bonus points if the CSV could be sent to OneDrive as a zipped file since CSV files compress really well when zipped and Power BI can read a zipped CSV file.</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/augsql/">AugSQL</category>                        <dc:creator>Tim Rodman</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/augsql/send-sql-query-results-to-onedrive-as-csv-to-be-consumed-by-power-bi/#post-10793</guid>
                    </item>
							        </channel>
        </rss>
		