<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Daidalus - Medium]]></title>
        <description><![CDATA[The financial data boutique consultancy specializing in accounting, ERP/CRM solutions &amp; data analytics. Expertise in streamlining operations &amp; data-driven business decisions. - Medium]]></description>
        <link>https://medium.com/daidalus?source=rss----c757f9ea79b5---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Daidalus - Medium</title>
            <link>https://medium.com/daidalus?source=rss----c757f9ea79b5---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 23:14:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/daidalus" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Data transformation Unpacked: Choosing your dbt Path on Snowflake]]></title>
            <link>https://medium.com/daidalus/data-transformation-unpacked-choosing-your-dbt-path-on-snowflake-8dbce8aebc62?source=rss----c757f9ea79b5---4</link>
            <guid isPermaLink="false">https://medium.com/p/8dbce8aebc62</guid>
            <category><![CDATA[data-transformation]]></category>
            <category><![CDATA[dbt]]></category>
            <category><![CDATA[modern-data-stack]]></category>
            <category><![CDATA[snowflake]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Tanyo Sotirov]]></dc:creator>
            <pubDate>Mon, 18 Aug 2025 13:11:20 GMT</pubDate>
            <atom:updated>2025-08-18T13:12:43.765Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x6cF2FC1eT8r8y9o" /><figcaption>Photo by <a href="https://unsplash.com/@remyloz?utm_source=medium&amp;utm_medium=referral">Remy_Loz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><em>A hands-on comparison of dbt Core, dbt Projects on Snowflake, and dbt Cloud for modern data teams.</em></p><p>In the evolving landscape of data, organizations are constantly seeking ways to transform raw data into actionable insights. For many, <strong>Snowflake</strong> has become the data warehouse of choice, offering unparalleled scalability and flexibility. But once your data resides in Snowflake, how do you efficiently transform it to serve your analytics, reporting, and crucially, your <strong>AI needs</strong>? Enter <strong>dbt (data build tool)</strong> — a powerful framework that brings software engineering best practices to data transformation.</p><p>But with great power comes great choice. When integrating dbt with Snowflake, you’ll primarily encounter three main approaches: <strong>dbt Core</strong>, <strong>dbt Project on Snowflake</strong>, and <strong>dbt Cloud</strong>. Each offers a distinct balance of control, convenience, and cost, with significant implications for <strong>team collaboration, production stability, and the ability to build a robust semantic layer for AI</strong>. Let’s dive deep into each and then compare them head-to-head to help you navigate your decision.</p><h3><strong>dbt Core: The Open-Source Engine</strong></h3><p>Think of dbt Core as the foundational engine. It’s the open-source, command-line interface (CLI) version of dbt that does the heavy lifting of compiling SQL, managing dependencies, and executing transformations directly in your Snowflake warehouse.</p><p><strong>What it is:</strong> dbt Core is free, adaptable, and gives you maximum control. It’s downloaded and run either locally on a developer’s machine or within a controlled environment like a Docker container or a dedicated server.</p><p><strong>How it works:</strong> Developers write their data models as SQL SELECT statements and define tests and documentation in YAML files. They then use the dbt CLI to execute commands like dbt run, dbt test, and dbt docs generate. Orchestration and scheduling of these commands require external tools (e.g., cron jobs, Airflow, CI/CD pipelines).</p><p><strong>Who is it for?</strong></p><ul><li>Teams with strong DevOps capabilities and experience managing their own infrastructure.</li><li>Organizations that require absolute control over their computing environments and CI/CD pipelines.</li><li>Teams looking to minimize direct tool licensing costs, understanding that operational overhead will increase.</li></ul><p><strong>Key characteristics:</strong></p><ul><li><strong>Full Customization:</strong> You dictate your CI/CD, how environments are configured, and which complementary tools you use.</li><li><strong>Cost Efficiency (Direct):</strong> The dbt Core software itself is free; costs are primarily Snowflake compute and developer time for setup and maintenance.</li><li><strong>Challenges in Collaboration:</strong> dbt Core is <strong>not inherently designed for multi-developer collaboration</strong>. Success relies heavily on external processes, strong Git proficiency, clear communication, and team discipline to manage shared repositories and prevent conflicts.</li><li><strong>Environment Control Risks:</strong> The use of profiles.yml allows direct connection to any environment (dev, staging, prod). Without robust external guardrails (e.g., strict CI/CD gates, rigorous code reviews, Snowflake RBAC) and strict processes, there&#39;s a significant risk of developers inadvertently or mistakenly deploying changes directly to production. This often necessitates senior team members dedicating time to &quot;shepherding&quot; processes rather than higher-value tasks.</li><li><strong>Execution Environment Overhead:</strong> Working with a dbt Core environment, especially for multiple developers, requires significant <strong>planning or containerization (e.g., Docker)</strong>, adding to the self-managed setup and maintenance overhead.</li><li><strong>Semantic Layer / AI Compatibility:</strong> Can be extended with community packages for semantic layer definition, but requires manual integration and often custom hosting.</li></ul><h3><strong>dbt Projects on Snowflake: Native Integration</strong></h3><p>Building on dbt Core, dbt Projects on Snowflake represents a more integrated approach, leveraging Snowflake’s native capabilities to host and execute your dbt code directly within the data warehouse.</p><p><strong>What it is:</strong> This is essentially dbt Core, but deployed as “dbt project objects” within Snowflake itself. Instead of needing external compute for dbt runs, Snowflake manages the execution environment.</p><p><strong>How it works:</strong> Your dbt project&#39;s code (models, tests, etc.) is stored in Snowflake as an DBT PROJECT object. You can then run your dbt models using Snowflake&#39;s EXECUTE DBT PROJECT command. Developers might still use dbt Core locally for development, but the deployments and scheduled runs happen within Snowflake using its native capabilities like Snowsight Workspaces or CLI. Snowflake Tasks can then be used for scheduling.</p><p><strong>Who is it for?</strong></p><ul><li>Teams deeply committed to the Snowflake ecosystem.</li><li>Organizations that want to simplify their architecture by keeping data transformation as close to the data as possible.</li><li>Teams comfortable with Snowflake’s administration and keen to leverage its native features for orchestration and governance.</li></ul><p><strong>Key characteristics:</strong></p><ul><li><strong>Snowflake Native Execution:</strong> Leverages Snowflake’s infrastructure for running dbt commands, potentially simplifying the operational overhead compared to managing separate compute for dbt Core.</li><li><strong>Versioned Objects:</strong> Snowflake supports versioned dbt project objects, which is excellent for rollbacks and auditing.</li><li><strong>RBAC Integration:</strong> You can use Snowflake’s Role-Based Access Control (RBAC) to define who can deploy or modify dbt projects.</li><li><strong>Challenges in Collaboration:</strong> Similar to standalone dbt Core, multi-developer collaboration relies heavily on external Git processes, strong communication, and strict team discipline.</li><li><strong>Environment Control Risks:</strong> While Snowflake RBAC offers some control over project deployment, managing developer profiles and ensuring the correct environment is targeted still requires rigorous internal processes to prevent accidental production deployments. This can lead to senior team members dedicating time to process oversight.</li><li><strong>Execution Environment Overhead:</strong> While execution is in Snowflake, initial dbt project setup and pipeline orchestration via Snowflake Tasks require significant planning and expertise.</li><li><strong>Semantic Layer / AI Compatibility:</strong> Semantic models can be defined within dbt projects, queryable directly in Snowflake for BI and AI use cases. Integration with external semantic layer tools might require a custom setup.</li></ul><h3><strong>dbt Cloud: The Managed Experience</strong></h3><p><strong>dbt Cloud</strong> is the commercial, hosted service from dbt Labs. It wraps dbt Core in a user-friendly web interface, adding features designed to streamline development, collaboration, and deployment.</p><p><strong>What it is:</strong> A managed platform that provides a web-based IDE, a built-in job scheduler, robust logging, and powerful collaboration tools, all while running dbt Core under the hood.</p><p><strong>How it works:</strong> Developers access a web interface to write SQL, define tests, and manage their dbt projects. dbt Cloud handles Git integration, compilation, execution, and scheduling. It also provides visual tools for lineage and documentation.</p><p><strong>Who is it for?</strong></p><ul><li>Teams prioritizing ease of use, rapid setup, and reduced operational overhead.</li><li>Organizations that value built-in collaboration features and official technical support.</li><li>Teams that prefer predictable subscription costs over variable internal resource allocation.</li></ul><p><strong>Key characteristics:</strong></p><ul><li><strong>UI-Driven &amp; User-Friendly:</strong> Provides a beginner-friendly, UI-driven environment that simplifies setup and ongoing management.</li><li><strong>Built-in Scheduling &amp; Monitoring:</strong> Eliminates the need for external orchestration tools and offers integrated logging and alerts.</li><li><strong>Visual Lineage &amp; Hosted Docs:</strong> Offers a visual Directed Acyclic Graph (DAG) for model dependencies and hosts dbt documentation automatically.</li><li><strong>Enhanced Collaboration (Developer &amp; Business):</strong> Includes role-based access and a Git UI for team collaboration. Crucially, the intuitive interface, particularly the visual lineage and hosted documentation, allows for seamless collaboration with business users, enabling them to easily track the logic and models involved in a given process, fostering a stronger business understanding of data assets.</li><li><strong>Managed Updates:</strong> dbt Cloud handles platform updates and version management, reducing maintenance overhead for your team.</li><li><strong>Technical Support:</strong> Provides direct technical support from dbt Labs.</li><li><strong>Built-in Environment Guardrails:</strong> Features separate environments and UI-controlled deployments, significantly reducing the risk of accidental production changes compared to self-managed dbt Core setups.</li><li><strong>Semantic Layer / AI Compatibility:</strong> Native support for <strong>dbt Semantic Layer</strong>, enabling consistent metric definitions across BI and AI tools. This significantly streamlines data access for machine learning models and data applications.</li></ul><h3><strong>Head-to-Head: Choosing Your dbt Champion</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*SW8TgCHM4okXSNJLD9G3ZQ.png" /><figcaption>Here’s a comparative look at the key decision factors</figcaption></figure><p><strong>The Core Dilemma: Time vs. Money (and Control)</strong></p><p>At its heart, the decision often boils down to a fundamental tradeoff:</p><blockquote>Operational Overhead (Developer Time, Risk Management)</blockquote><blockquote><strong>vs</strong></blockquote><blockquote>Predictable Costs (Licenses) + Ease of Management</blockquote><p>For smaller teams or those prioritizing speed-to-value, ease of management, and built-in guardrails against production errors, the reduced operational overhead and inherent collaboration features of <strong>dbt Cloud</strong> often outweigh its license fees. It frees up valuable developer time, allowing them to focus on building data models and delivering business value, rather than on maintaining infrastructure or “shepherding” processes.</p><p>Conversely, larger organizations with dedicated DevOps teams, highly specific security requirements, or a strong desire for maximum control may lean towards <strong>dbt Core</strong> or <strong>dbt Projects on Snowflake</strong>. They absorb the higher internal management costs and the inherent risks of less-controlled environments in exchange for complete command over their setup.</p><h3><strong>Making Your Call</strong></h3><p>There’s no single “best” solution; the ideal choice depends on your team’s specific context, resources, and strategic priorities.</p><ul><li>If you’re just starting your dbt journey, have a smaller team, or prioritize speed and simplicity, and built-in safety nets, <strong>dbt Cloud</strong> offers a streamlined path to success.</li><li>If you demand ultimate control, have a robust engineering team, and are comfortable managing your own infrastructure and associated risks, <strong>dbt Core</strong> or its tailored <strong>Snowflake Project</strong> deployment provides that flexibility.</li></ul><p>No matter which path you choose, adopting dbt is a strategic step towards a more reliable, efficient, and insight-driven data culture. It’s about bringing engineering rigor to your data transformations, ensuring your data is not just present, but truly trustworthy and actionable for both traditional BI and the burgeoning world of AI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8dbce8aebc62" width="1" height="1" alt=""><hr><p><a href="https://medium.com/daidalus/data-transformation-unpacked-choosing-your-dbt-path-on-snowflake-8dbce8aebc62">Data transformation Unpacked: Choosing your dbt Path on Snowflake</a> was originally published in <a href="https://medium.com/daidalus">Daidalus</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From DATEV to Snowflake: How to bring your data to the next level]]></title>
            <link>https://medium.com/daidalus/from-datev-to-snowflake-how-to-bring-your-data-to-the-next-level-c2e5facc45f3?source=rss----c757f9ea79b5---4</link>
            <guid isPermaLink="false">https://medium.com/p/c2e5facc45f3</guid>
            <dc:creator><![CDATA[Maurice Henry Buettgenbach]]></dc:creator>
            <pubDate>Mon, 19 May 2025 16:28:29 GMT</pubDate>
            <atom:updated>2025-05-19T16:28:18.582Z</atom:updated>
            <content:encoded><![CDATA[<h4>From static exports to dynamic insight — how we made DATEV data ready for Snowflake.</h4><p>Recently, I set myself a personal challenge: to build an AI agent–based chatbot for our DATEV data, leveraging Snowflake and Microsoft Teams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*UOAYwUvMRX-TCrhzWju47g.png" /><figcaption>My personal vibe coding challenge. Image by author.</figcaption></figure><h3>The first obstacle: Getting DATEV data into Snowflake</h3><p>Anyone who has worked with DATEV knows how restrictive its integration and export options can be. Your access is typically limited to one of the following:</p><ul><li>Manual data extraction</li><li>Batch scripts</li><li>A paid, local API provided by DATEV</li><li>A third-party integration, such as <a href="https://klardaten.com/">Klardaten</a></li></ul><p>To keep things fast and efficient, I wanted to avoid both manual labor and lengthy onboarding processes with DATEV or external vendors. That left me with one option: using batch scripts.</p><h3>Scaling the KRExport program with Python</h3><p>DATEV offers a utility called <strong>KRExport</strong>, which enables users to extract legal-entity-specific data for a given financial year through a no-code interface. It can also generate batch scripts, which can be scheduled to run automatically, storing data at a specified file path.</p><p>For a small number of entities, this approach works just fine. But for larger environments, KRExport quickly becomes a bottleneck. Since it only allows for the creation of one batch file at a time, managing many entities and years becomes painfully time-consuming.</p><p>To give you an idea: KRExport supports 25 datasets per year (covering about 80% of common use cases), and generating a single batch file manually takes up to five minutes. For us, the initial setup would have taken over <strong>650 hours</strong>, with a recurring <strong>annual effort of ~115 hours</strong> — clearly not a scalable solution.</p><h4>Automating batch generation with ChatGPT</h4><p>Thankfully, DATEV provides documentation that outlines the exact structure required for KRExport batch files. I fed that documentation into ChatGPT with a prompt:</p><blockquote>“Write me a Python script that generates KRExport batch files for multiple mandates and financial years.”</blockquote><p>Here’s what came out of it (simplified for clarity):</p><pre>import os<br>from datetime import datetime<br><br># Configuration<br>krexport_path = r&#39;%DATEVPP%\Programm\RWApplic\KRExport.exe&#39;<br>output_dir = &#39;generated_batch_files&#39;<br>zieldatenpfad = r&#39;D:\DATEVExports&#39;<br><br># Mandates and years (you can extend this list)<br>mandates = [<br>    {&#39;berater&#39;: 1234567, &#39;mandant&#39;: 10001},<br>    {&#39;berater&#39;: 2345678, &#39;mandant&#39;: 10002},<br>]<br><br>years = [2023, 2024]<br>format_name = &quot;Kontobuchungen&quot;<br>format_version = 7<br>datenkategorie_id = 22<br><br># Ensure output directory exists<br>os.makedirs(output_dir, exist_ok=True)<br><br>def build_batch_content(berater, mandant, year):<br>    start_date = f&quot;{year}0101&quot;<br>    datum_von = &quot;01.01.&quot; + str(year)<br>    datum_bis = &quot;31.12.&quot; + str(year)<br>    zieldatei = f&quot;Export_{berater}_{mandant}_{year}.txt&quot;<br><br>    command = (<br>        f&#39;call &quot;{krexport_path}&quot; &#39;<br>        f&#39;-Berater:{berater} &#39;<br>        f&#39;-Mandant:{mandant} &#39;<br>        f&#39;-DatenkategorieId:{datenkategorie_id} &#39;<br>        f&#39;-Format:{format_name} &#39;<br>        f&#39;-Formatversion:{format_version} &#39;<br>        f&#39;-WjBeginn:{start_date} &#39;<br>        f&#39;-DatumVon:{datum_von} &#39;<br>        f&#39;-DatumBis:{datum_bis} &#39;<br>        f&#39;-Zieldatei:{zieldatei} &#39;<br>        f&#39;-Zieldatenpfad:{zieldatenpfad} &#39;<br>        f&#39;-LaufendeBuchungen:ja &#39;<br>        f&#39;-StatusmeldungenUnterdruecken:ja&#39;<br>    )<br><br>    return command<br><br># Generate batch files<br>for mandate in mandates:<br>    for year in years:<br>        filename = f&quot;export_{mandate[&#39;berater&#39;]}_{mandate[&#39;mandant&#39;]}_{year}.bat&quot;<br>        filepath = os.path.join(output_dir, filename)<br>        content = build_batch_content(mandate[&#39;berater&#39;], mandate[&#39;mandant&#39;], year)<br><br>        with open(filepath, &#39;w&#39;, encoding=&#39;utf-8&#39;) as f:<br>            f.write(content + &#39;\n&#39;)<br><br>        print(f&quot;Created batch file: {filepath}&quot;)</pre><p>Did it work on the first try? Not quite — file encoding and delimiter issues needed debugging. But after a few rounds with ChatGPT, I had a working script. I also expanded it to include additional data points and an execution wrapper, resulting in a well-structured export of selected DATEV data to a local drive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CWa6IBetXZOEimNtQZsv9A.png" /><figcaption>Example for exported DATEV data. Image by author.</figcaption></figure><p><strong>Pro tip:</strong> Limit server resource usage while running this. Otherwise, you <em>will</em> crash it. (Don’t ask me how I know…)</p><h3>Utilizing Azure for ELT workloads</h3><p>With the data exported locally, the next step was moving it to Snowflake. Since DATEV only supports local export paths, the simplest cloud ingress point was <strong>Azure File Share</strong>, part of Azure Storage Accounts. This lets you mount a file share on your Azure account directly as a local drive.</p><p>Microsoft provides an excellent <a href="https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-create-file-share?tabs=azure-portal">tutorial</a> if you’ve never used this feature before. Once mounted, simply redirect your Python script to the file share — and voilà, your data appears automatically in your cloud storage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jl-ty48YfhQlQeslfHYUHQ.png" /><figcaption>Azure file share with DATEV data. Image by author.</figcaption></figure><h4>Azure-based pipeline: From File Share to Snowflake</h4><p>Once the data is in Azure, the sky’s the limit. I opted to use:</p><ul><li><strong>Azure Data Factory</strong> for orchestration</li><li><strong>Azure Synapse Notebooks</strong> for data cleaning and transformation</li></ul><p>(Yes, this stack is more expensive, but I’ve been wanting to experiment with Synapse Notebooks.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RaDcWDKQYGV44RZLH46cqQ.png" /><figcaption>ELT architecture. Image by author.</figcaption></figure><p>To prepare the data for processing:</p><ol><li>Files are copied from the Azure File Share to Blob Storage.</li><li>Synapse Notebooks access and clean the raw files.</li><li>A successful cleaning triggers a copy activity that pushes the data into Snowflake.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A8kISA52Cx2fE1kAKLoWpQ.png" /><figcaption>Data Factory setup. Image by author.</figcaption></figure><p>This setup costs approximately <strong>€50/month</strong>, assuming daily ingestion of ~5MB of data. For a more cost-effective alternative, you could use <strong>Azure Functions</strong> with the <strong>Snowflake Python connector</strong>, which provides similar functionality at a fraction of the cost</p><p>Once the pipeline is live, your transformed DATEV data lands in Snowflake, ready for modeling and analytics — and one step closer to powering a Teams-based AI chatbot for financial insights.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZrXPl2sTdjoI5Wa-8Mr5Qw.png" /><figcaption>DATEV data in Snowflake. Image by author.</figcaption></figure><p><em>If working with DATEV feels like hitting a wall, Daidalus can help you break through. Our team specializes in automating complex financial data workflows — like exporting from DATEV and integrating with modern cloud platforms such as Snowflake. We eliminate manual processes, reduce dependencies on third-party vendors, and design scalable solutions tailored to your business. Whether you’re seeking faster insights, cleaner data pipelines, or cloud-native architecture, Daidalus brings the technical expertise to make it happen. Let us help you turn legacy data into a competitive advantage.</em></p><p>✉️<em>info@daidalus.eu<br></em>🌐<a href="https://www.daidalus.eu/en">https://www.daidalus.eu/en</a><em><br></em>#️⃣<a href="https://www.linkedin.com/company/98713983/">https://www.linkedin.com/company/98713983</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2e5facc45f3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/daidalus/from-datev-to-snowflake-how-to-bring-your-data-to-the-next-level-c2e5facc45f3">From DATEV to Snowflake: How to bring your data to the next level</a> was originally published in <a href="https://medium.com/daidalus">Daidalus</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Von DATEV nach Snowflake: So bringt ihr eure Daten auf das nächste Level]]></title>
            <link>https://medium.com/daidalus/von-datev-nach-snowflake-so-bringt-ihr-eure-daten-auf-das-n%C3%A4chste-level-62c29fb1d080?source=rss----c757f9ea79b5---4</link>
            <guid isPermaLink="false">https://medium.com/p/62c29fb1d080</guid>
            <dc:creator><![CDATA[Maurice Henry Buettgenbach]]></dc:creator>
            <pubDate>Mon, 19 May 2025 16:28:03 GMT</pubDate>
            <atom:updated>2025-05-19T16:27:52.098Z</atom:updated>
            <content:encoded><![CDATA[<h4>Wie wir DATEV für die Cloud fit gemacht haben.</h4><p>Kürzlich habe ich mir eine persönliche Challenge gesetzt: Einen AI-basierten Chatbot für unsere DATEV-Daten zu bauen — mit Snowflake als Datenbasis und Microsoft Teams als Benutzeroberfläche.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*UOAYwUvMRX-TCrhzWju47g.png" /><figcaption>Meine persönliche Vibe Coding Challenge. Bild von Author.</figcaption></figure><h3>Die erste Hürde: Wie bekommt man DATEV-Daten in Snowflake?</h3><p>Wer schon mal mit DATEV gearbeitet hat, weiß: Die Export- und Integrationsmöglichkeiten sind eher… überschaubar. Zur Auswahl stehen:</p><ul><li>Manueller Export</li><li>Batch-Skripte</li><li>Eine kostenpflichtige, lokale API von DATEV</li><li>Drittanbieter-Tools wie <a href="https://klardaten.com/">Klardaten</a></li></ul><p>Weil ich keine Lust auf langwierige Onboardings oder manuelle Arbeit hatte, blieb nur eine Lösung: Batch-Skripte.</p><h3>KRExport mit Python skalieren</h3><p>DATEV stellt mit <strong>KRExport</strong> ein Tool zur Verfügung, mit dem man Daten mandantenspezifisch und jahresweise exportieren kann — ganz ohne Code, per Klick. Damit lassen sich auch Batch-Dateien generieren, die automatisiert ausgeführt werden und die Daten in einem definierten Verzeichnis ablegen.</p><p>Für kleine Setups ist das super. Aber sobald viele Mandanten und Jahre im Spiel sind, wird KRExport zum Zeitfresser: Pro Datei braucht man ca. fünf Minuten, und es lassen sich nur einzeln Dateien erstellen.</p><p>Zum Vergleich: KRExport unterstützt 25 Datensätze pro Jahr (damit deckt man ca. 80 % der Use Cases ab). In unserem Fall hätte das Setup <strong>über 650 Stunden</strong> gedauert — mit einem jährlichen Pflegeaufwand von rund <strong>115 Stunden</strong>. Keine valide Option.</p><h4>Batch-Generierung automatisieren mit ChatGPT</h4><p>Glücklicherweise dokumentiert DATEV den Aufbau der Batch-Dateien ziemlich genau. Ich habe die Anleitung kurzerhand in ChatGPT geworfen — mit dem Prompt:</p><blockquote><em>„Schreib mir ein Python-Skript, das Batch-Dateien für mehrere Mandanten und Wirtschaftsjahre erzeugt.“</em></blockquote><p>Das kam dabei raus (hier vereinfacht dargestellt):</p><pre>import os<br>from datetime import datetime<br><br># Configuration<br>krexport_path = r&#39;%DATEVPP%\Programm\RWApplic\KRExport.exe&#39;<br>output_dir = &#39;generated_batch_files&#39;<br>zieldatenpfad = r&#39;D:\DATEVExports&#39;<br><br># Mandates and years (you can extend this list)<br>mandates = [<br>    {&#39;berater&#39;: 1234567, &#39;mandant&#39;: 10001},<br>    {&#39;berater&#39;: 2345678, &#39;mandant&#39;: 10002},<br>]<br><br>years = [2023, 2024]<br>format_name = &quot;Kontobuchungen&quot;<br>format_version = 7<br>datenkategorie_id = 22<br><br># Ensure output directory exists<br>os.makedirs(output_dir, exist_ok=True)<br><br>def build_batch_content(berater, mandant, year):<br>    start_date = f&quot;{year}0101&quot;<br>    datum_von = &quot;01.01.&quot; + str(year)<br>    datum_bis = &quot;31.12.&quot; + str(year)<br>    zieldatei = f&quot;Export_{berater}_{mandant}_{year}.txt&quot;<br><br>    command = (<br>        f&#39;call &quot;{krexport_path}&quot; &#39;<br>        f&#39;-Berater:{berater} &#39;<br>        f&#39;-Mandant:{mandant} &#39;<br>        f&#39;-DatenkategorieId:{datenkategorie_id} &#39;<br>        f&#39;-Format:{format_name} &#39;<br>        f&#39;-Formatversion:{format_version} &#39;<br>        f&#39;-WjBeginn:{start_date} &#39;<br>        f&#39;-DatumVon:{datum_von} &#39;<br>        f&#39;-DatumBis:{datum_bis} &#39;<br>        f&#39;-Zieldatei:{zieldatei} &#39;<br>        f&#39;-Zieldatenpfad:{zieldatenpfad} &#39;<br>        f&#39;-LaufendeBuchungen:ja &#39;<br>        f&#39;-StatusmeldungenUnterdruecken:ja&#39;<br>    )<br><br>    return command<br><br># Generate batch files<br>for mandate in mandates:<br>    for year in years:<br>        filename = f&quot;export_{mandate[&#39;berater&#39;]}_{mandate[&#39;mandant&#39;]}_{year}.bat&quot;<br>        filepath = os.path.join(output_dir, filename)<br>        content = build_batch_content(mandate[&#39;berater&#39;], mandate[&#39;mandant&#39;], year)<br><br>        with open(filepath, &#39;w&#39;, encoding=&#39;utf-8&#39;) as f:<br>            f.write(content + &#39;\n&#39;)<br><br>        print(f&quot;Created batch file: {filepath}&quot;)</pre><p>Hat es sofort funktioniert? Natürlich nicht ganz — Encoding und Trennzeichen waren tricky. Aber nach ein paar Runden Debugging hatte ich ein funktionierendes Skript. Ich habe es dann noch erweitert, um zusätzliche Datenfelder und eine Ausführungslogik — und am Ende landete eine schön strukturierte Auswahl unserer DATEV-Daten auf dem lokalen Laufwerk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CWa6IBetXZOEimNtQZsv9A.png" /><figcaption>Beispiel für lokal exportierte DATEV Daten. Bild von Author.</figcaption></figure><p><strong>Pro-Tipp:</strong> Achte auf die Serverauslastung — sonst stürzt dir das Ding gnadenlos ab. (Frag besser nicht, woher ich das weiß…)</p><h3>Azure für den ELT-Prozess nutzen</h3><p>Mit den Daten lokal gespeichert, ging’s ans Hochladen in die Cloud. Da DATEV nur lokale Exporte erlaubt, war der einfachste Einstiegspunkt: <strong>Azure File Share</strong> (Teil von Azure Storage Accounts). Damit kann man ein Netzlaufwerk in Azure erstellen, das auf dem lokalen Server als Laufwerk gemountet wird.</p><p>Falls du das noch nie gemacht hast — Microsoft hat dazu ein super <a href="https://learn.microsoft.com/en-us/azure/storage/files/storage-how-to-create-file-share?tabs=azure-portal">Tutorial</a>. Sobald das Laufwerk eingebunden ist, zeigt dein Python-Skript einfach auf den File Share — und voilà: Die Daten tauchen automatisch in der Cloud auf.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jl-ty48YfhQlQeslfHYUHQ.png" /><figcaption>Beispiel für DATEV Daten in einem File Share. Bild von Author.</figcaption></figure><h4>Die Azure-basierte Pipeline: Von File Share nach Snowflake</h4><p>Sind die Daten erst mal in Azure, stehen dir alle Türen offen. Ich habe mich für folgende Services entschieden:</p><ul><li><strong>Azure Data Factory</strong> für die Orchestrierung</li><li><strong>Azure Synapse Notebooks</strong> für die Datenbereinigung und -transformation</li></ul><p>(Ja, das ist eher die „Luxus-Variante“, aber ich wollte die Synapse Notebooks eh mal ausprobieren.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RaDcWDKQYGV44RZLH46cqQ.png" /><figcaption>ELT Architektur. Bild von Author.</figcaption></figure><h4>Der Ablauf:</h4><ol><li>Dateien werden vom File Share in den Blob Storage kopiert</li><li>Synapse Notebooks greifen auf die Rohdaten zu und bereinigen sie</li><li>Bei Erfolg wird automatisch eine Kopieraktion ausgelöst, die die Daten nach Snowflake pusht</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A8kISA52Cx2fE1kAKLoWpQ.png" /><figcaption>Data Factory Setup. Bild von Author.</figcaption></figure><p>Kostenpunkt: ca. <strong>50 €/Monat</strong> bei täglichem Import von ~5 MB Daten. Wer sparen will, kann alternativ mit <strong>Azure Functions</strong> und dem <strong>Snowflake Python Connector</strong> arbeiten — ähnliche Funktionalität, deutlich günstiger.</p><p>Sobald die Pipeline läuft, liegen deine transformierten DATEV-Daten in Snowflake bereit — und du kannst direkt mit dem Modellieren und Analysieren starten. Oder eben den Chatbot anschließen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZrXPl2sTdjoI5Wa-8Mr5Qw.png" /><figcaption>DATEV Daten in Snowflake. Bild von Author.</figcaption></figure><p><em>Wenn sich die Arbeit mit DATEV wie ein endloser Kampf anfühlt — </em><strong><em>Daidalus</em></strong><em> hilft dir, das zu durchbrechen. Wir automatisieren komplexe Finanzdatenprozesse und bringen deine Daten ohne Umwege in die Cloud. Ob du saubere Pipelines brauchst, Insights in Echtzeit oder einfach weniger Aufwand — wir liefern dir die technische Basis, damit dein Unternehmen von seinen Daten wirklich profitiert.</em></p><p><em>Lass uns gemeinsam aus Altsystemen echte Wettbewerbsvorteile machen!</em></p><p>✉️<em>info@daidalus.eu<br></em>🌐<a href="https://www.daidalus.eu/en">https://www.daidalus.eu/en</a><em><br></em>#️⃣<a href="https://www.linkedin.com/company/98713983/">https://www.linkedin.com/company/98713983</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=62c29fb1d080" width="1" height="1" alt=""><hr><p><a href="https://medium.com/daidalus/von-datev-nach-snowflake-so-bringt-ihr-eure-daten-auf-das-n%C3%A4chste-level-62c29fb1d080">Von DATEV nach Snowflake: So bringt ihr eure Daten auf das nächste Level</a> was originally published in <a href="https://medium.com/daidalus">Daidalus</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ensuring Proper Email Deletion in Shared Mailboxes Using Power Automate]]></title>
            <link>https://medium.com/daidalus/ensuring-proper-email-deletion-in-shared-mailboxes-using-power-automate-675683225530?source=rss----c757f9ea79b5---4</link>
            <guid isPermaLink="false">https://medium.com/p/675683225530</guid>
            <category><![CDATA[email]]></category>
            <category><![CDATA[power-automate]]></category>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Mikołaj Romek]]></dc:creator>
            <pubDate>Wed, 29 Jan 2025 06:49:31 GMT</pubDate>
            <atom:updated>2025-01-29T06:49:31.446Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-mUcGJlsnP85eIusm85cpw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@impelling?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Ed Hardie</a> on <a href="https://unsplash.com/photos/a-close-up-of-a-cell-phone-screen-with-different-app-icons-N3TVYJ6Wr1I?utm_content=creditCopyText&amp;utm_medium=referral&amp;utm_source=unsplash">Unsplash</a></figcaption></figure><h4>Fix Outlook’s shared mailbox deletion issue with Power Automate and keep deleted emails from vanishing into personal folders.</h4><p>When managing shared mailboxes in Microsoft Outlook, deleted emails often end up in the personal “Deleted Items” folder of the user who performed the action, instead of the shared mailbox’s “Deleted Items” folder. This behaviour can cause confusion and make it difficult to track deleted emails.</p><p>This article outlines a Power Automate solution that uses Microsoft Graph API to automatically move deleted emails into the correct folder within a shared mailbox.</p><h4><strong>Why This Problem Occurs</strong></h4><p>Outlook does not provide an option to configure the behaviour for deleting emails in shared mailboxes. As a result, emails deleted by users are routed to their personal “Deleted Items” folder, making them inaccessible to other team members. Power Automate can address this issue by automating the process of moving these emails back to the shared mailbox’s “Deleted Items” folder.</p><h4><strong>How the Power Automate Flow Works</strong></h4><p>The solution involves using Microsoft Graph API to:</p><ol><li>Monitor emails tagged for deletion in the shared mailbox.</li><li>Identify these emails by their category or other criteria.</li><li>Move the identified emails to the shared mailbox’s “Deleted Items” folder.</li></ol><h4><strong>Step-by-Step Guide to Building the Flow</strong></h4><p><strong>1. Set Up API Permissions</strong></p><p>To use Microsoft Graph API, you’ll need:</p><ul><li>An Azure AD app with the following API permission:</li><li><strong>Mail.ReadWrite (Application)</strong></li><li>Note the client ID, tenant ID, and client secret, as these will be required in the flow.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gmx3oPQ9OPz_9ZGl64hUpw.png" /><figcaption>App registration in Azure. Image by Author.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*zYDFBU81UYiwpWBcTISZYQ.png" /><figcaption>Required permission for the app. Image by Author.</figcaption></figure><p><strong>2. Retrieve an Access Token</strong></p><p>In Power Automate, set up an HTTP action to get an access token:</p><ul><li><strong>Method</strong>: POST</li><li><strong>URI</strong>: <a href="https://login.microsoftonline.com/%7Btenant-id%7D/oauth2/v2.0/token">https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token</a></li><li><strong>Headers</strong>: Content-Type: application/x-www-form-urlencoded</li><li><strong>Body</strong>: client_id={client_id}&amp;client_secret={client-secret}&amp;scope=https://graph.microsoft.com/.default&amp;grant_type=client_credentials</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*2zvMQJE-o7HLvVowY_df2A.png" /><figcaption>Get Access Token Step. Image by Author.</figcaption></figure><p>Use the <strong>Parse JSON</strong> action to extract the access token from the response.</p><ul><li><strong>Parse JSON Schema</strong>:</li></ul><p><strong>Content:</strong> body(‘Get_Access_Token’)</p><p><strong>Schema:</strong></p><pre>{<br>    &quot;type&quot;: &quot;object&quot;,<br>    &quot;properties&quot;: {<br>        &quot;token_type&quot;: {<br>            &quot;type&quot;: &quot;string&quot;<br>        },<br>        &quot;expires_in&quot;: {<br>            &quot;type&quot;: &quot;integer&quot;<br>        },<br>        &quot;ext_expires_in&quot;: {<br>            &quot;type&quot;: &quot;integer&quot;<br>        },<br>        &quot;Access_Token&quot;: {<br>            &quot;type&quot;: &quot;string&quot;<br>        }<br>    }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*o3vDhkTI-6HVbuEUY_ilrw.png" /><figcaption>Parse Access Token Step. Image by Author.</figcaption></figure><p><strong>3. Get Emails for deletion from the Shared Mailbox</strong></p><p>In my case, I’m using deleting emails with Red category.</p><p>Add an HTTP action to retrieve emails from the shared mailbox:</p><ul><li><strong>Method</strong>: GET</li><li><strong>URI</strong>: <a href="https://graph.microsoft.com/v1.0/users/invoices@daidalus.eu/mailFolders/inbox/messages">https://graph.microsoft.com/v1.0/users/shared_mailbox@example.com/mailFolders/inbox/messages</a></li><li><strong>Headers</strong>: Authorization: Bearer body(‘Parse_Access_Token’)?[‘access_token’]</li><li><strong>Queries: </strong>$filter: categories/any(c:c eq ‘Red category’)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*HYkpUv5j3oEsBUb6M4Nvpg.png" /><figcaption>Get Emails with “Red category” Step. Image by Author.</figcaption></figure><p>Use the <strong>Parse JSON</strong> action to extract message details:</p><ul><li><strong>Parse JSON Schema</strong>:</li></ul><p><strong>Content:</strong> body(‘Get_Emails_With_”Red_Category”’)</p><p><strong>Schema:</strong></p><pre>{<br>    &quot;type&quot;: &quot;object&quot;,<br>    &quot;properties&quot;: {<br>        &quot;value&quot;: {<br>            &quot;type&quot;: &quot;array&quot;,<br>            &quot;items&quot;: {<br>                &quot;type&quot;: &quot;object&quot;,<br>                &quot;properties&quot;: {<br>                    &quot;id&quot;: {<br>                        &quot;type&quot;: &quot;string&quot;<br>                    }<br>                }<br>            }<br>        }<br>    }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*Xd-anv3Qns3BXL0x3jPhnw.png" /><figcaption>Parse Emails Step. Image by Author.</figcaption></figure><p><strong>4. Get the “Deleted Items” Folder ID</strong></p><p>To move emails to the correct folder, retrieve the folder ID of the shared mailbox’s “Deleted Items”:</p><ul><li><strong>Method</strong>: GET</li><li><strong>URI</strong>: <a href="https://graph.microsoft.com/v1.0/users/shared_mailbox@example.com/mailFolders/deleteditems">https://graph.microsoft.com/v1.0/users/shared_mailbox@example.com/mailFolders/deleteditems</a></li><li><strong>Headers</strong>: Authorization: Bearer body(‘Parse_Access_Token’)?[‘access_token’]</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*W7we9rQLWezJVuzZxgVKTw.png" /><figcaption>Get Deleted Items folder ID Step. Image by Author.</figcaption></figure><p>Parse the response to extract the folder ID:</p><ul><li><strong>Parse JSON Schema</strong>:</li></ul><p><strong>Content:</strong> body(‘Get_Deleted_Items_folder_ID’)</p><p><strong>Schema:</strong></p><pre>{<br>    &quot;type&quot;: &quot;object&quot;,<br>    &quot;properties&quot;: {<br>        &quot;id&quot;: {<br>            &quot;type&quot;: &quot;string&quot;<br>        },<br>        &quot;displayName&quot;: {<br>            &quot;type&quot;: &quot;string&quot;<br>        }<br>    }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*3SIKsYEzksSRTi9BUqsL6g.png" /><figcaption>Parse Deleted Items folder ID Step. Image by Author.</figcaption></figure><p><strong>5. Move Emails to “Deleted Items”</strong></p><p>For each email ID retrieved earlier:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/623/1*ypdcp4KCbll5vBmsysDiBw.png" /><figcaption>Apply to each step. Image by Author.</figcaption></figure><p><strong>Output</strong>: body(‘Parse_Emails’)?[‘value’]</p><p>Add an HTTP POST action:</p><ul><li><strong>Method</strong>: POST</li><li><strong>URI</strong>: <a href="https://graph.microsoft.com/v1.0/users/shared_mailbox@example.com/messages/%7Bmessage-id%7D/move">https://graph.microsoft.com/v1.0/users/shared_mailbox@example.com/messages/items(‘Apply_to_each’)?[‘id’]/move</a></li><li><strong>Headers</strong>:</li><li>Authorization: Authorization: Bearer body(‘Parse_Access_Token’)?[‘access_token’]</li><li>Content-Type: application/json</li><li><strong>Body</strong>:</li></ul><pre>{<br>&quot;destinationId&quot;: body(&#39;Parse_Deleted_Items_folder_ID&#39;)?[&#39;id&#39;]<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*FJmg65GNrVEKF6zVD_I6PQ.png" /><figcaption>Move Emails Step. Image by Author.</figcaption></figure><h4><strong>Flow Overview</strong></h4><ol><li><strong>Trigger</strong>: Manually or on a schedule (e.g., every 15 minutes).</li><li><strong>Action 1</strong>: Get access token (HTTP POST).</li><li><strong>Action 2</strong>: Parse the access token.</li><li><strong>Action 3</strong>: Get messages flagged for deletion (HTTP GET).</li><li><strong>Action 4</strong>: Parse the message response for IDs.</li><li><strong>Action 5</strong>: Retrieve the “Deleted Items” folder ID (HTTP GET).</li><li><strong>Action 6</strong>: Parse the folder response for the folder ID.</li><li><strong>Action 7</strong>: Move each flagged email to the “Deleted Items” folder (HTTP POST).</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/179/1*Wo3cxhwmZYkCbY-DizcoPg.png" /><figcaption>Complete Power Automate flow. Image by Author.</figcaption></figure><h4><strong>Conclusion</strong></h4><p>This Power Automate solution addresses a common challenge with shared mailboxes by ensuring deleted emails are moved to the appropriate folder. By parsing JSON responses at every step, it ensures accuracy and flexibility in handling dynamic data. With the help of Microsoft Graph API, this approach can be adapted to other scenarios requiring precise control over email handling in shared mailboxes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=675683225530" width="1" height="1" alt=""><hr><p><a href="https://medium.com/daidalus/ensuring-proper-email-deletion-in-shared-mailboxes-using-power-automate-675683225530">Ensuring Proper Email Deletion in Shared Mailboxes Using Power Automate</a> was originally published in <a href="https://medium.com/daidalus">Daidalus</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Power BI: Unbegrenzte Datenaktualisierungen für Importprojekte planen]]></title>
            <link>https://medium.com/daidalus/how-to-power-bi-unbegrenzte-datenaktualisierungen-f%C3%BCr-importprojekte-planen-05a962ef8140?source=rss----c757f9ea79b5---4</link>
            <guid isPermaLink="false">https://medium.com/p/05a962ef8140</guid>
            <category><![CDATA[power-automate]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[power-platform-services]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Maurice Henry Buettgenbach]]></dc:creator>
            <pubDate>Tue, 07 Jan 2025 07:13:33 GMT</pubDate>
            <atom:updated>2025-01-07T07:13:18.464Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vrOKrht4pVFOLjX8" /><figcaption>Photo by <a href="https://unsplash.com/@pathdigital?utm_source=medium&amp;utm_medium=referral">path digital</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Du möchtest die Importfunktionen von Power BI mit den fast in Echtzeit verfügbaren Vorteilen von Direct Query kombinieren? Dann bist du hier genau richtig!</h4><h3>Der große Nachteil von Importprojekten in Power BI</h3><p>Power BI bietet Datenanalysten zwei Möglichkeiten, ihre Projekte einzurichten: den Datenimport oder Direct Query. Beide Optionen haben ihre Vor- und Nachteile, aber der größte Unterschied für die meisten Anwendungsfälle liegt in der Aktualisierungsfrequenz. Direct Query ermöglicht nahezu Echtzeitdaten, da jede Interaktion eine Aktualisierung auslöst, während Importprojekte auf geplante oder manuelle Aktualisierungen angewiesen sind.</p><p>Mit einer Premium-Lizenz kannst du die Aktualisierungsfrequenz von Power BI zwar manuell auf bis zu 48 Aktualisierungen pro Tag hochschrauben, aber selbst damit kommst du nur auf ein Intervall von 30 Minuten. Wenn die Nutzer:innen also die nahtlose Interaktion von Importprojekten mit nahezu Echtzeitdaten wünschen, musst du kreativ werden.</p><h3>Unbegrenzte On-Demand-Aktualisierungen mit Power Automate umsetzen</h3><p>Power Automate bietet eine Aktion, mit der du ein Dataset deiner Wahl aktualisieren kannst. In Kombination mit dem geplanten Cloud-Flow-Trigger kannst du einen Flow erstellen, der in deinem gewünschten Intervall aktualisiert wird — bis hin zu wenigen Sekunden.</p><h3>Was du brauchst</h3><p>Bevor du dich in die Einrichtung des Power Automate Flows stürzt, stelle sicher, dass du die folgenden Essentials hast:</p><ul><li><a href="https://learn.microsoft.com/en-us/power-bi/enterprise/service-premium-what-is#power-bi-premium-generation-2">Ein Power BI Premium-Arbeitsbereich oder eine Benutzerlizenz.</a></li><li><a href="https://www.microsoft.com/en-us/power-platform/products/power-automate/pricing">Eine Power Automate Benutzerlizenz (oder höher).</a></li></ul><h3>Schritt für Schritt Implementierung</h3><p>Zuerst solltest du deinen Bericht in den Premium-Arbeitsbereich oder -Benutzer hochladen. Ein Hinweis darauf, dass es sich um Premium handelt, ist ein kleines 💎-Symbol neben dem Namen. Dieses Symbol ist nur in der Weboberfläche sichtbar, daher ist es sinnvoll, dies vor dem Veröffentlichen zu überprüfen.</p><p>Als Nächstes konfigurierst du Power Automate, indem du die Weboberfläche aufrufst und zu <strong>“Meine Flows”</strong> navigierst. Klicke dann auf <strong>“Neuen Flow”</strong> und wähle die Option <strong>“Geplanter Cloud-Flow”</strong> aus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*g-tPFldQyoA0Yw7a.png" /><figcaption>Neue Option für geplanten Cloud-Flow. Bild vom Autor.</figcaption></figure><p>Anschließend wirst du aufgefordert, Details für deinen Flow einzugeben: Name, Startzeit und Intervall. Sobald du deine Auswahl getroffen hast, schließe die Einrichtung des Flows ab, indem du auf <strong>“Erstellen”</strong> klickst.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Gz0ROS900F9oBMC0.png" /><figcaption>Optionen für geplante Cloud-Flows. Bild vom Autor.</figcaption></figure><p>Nachdem du den Flow erfolgreich erstellt hast, wirst du auf eine neue Seite weitergeleitet. Wähle dort die Option <strong>“+Neuer Schritt”</strong> aus. Gib in der Suchleiste <strong>“Dataset aktualisieren”</strong> ein. Wähle aus den Suchergebnissen die Power BI-Aktion mit der Bezeichnung <strong>“Dataset aktualisieren”</strong> aus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*sXn6LeFbIc3xC_pm.png" /><figcaption>Aktion “Dataset aktualisieren”. Bild vom Autor.</figcaption></figure><p>Nachdem du die Aktion hinzugefügt hast, wird sie zum nächsten Schritt im Flow. Wähle nun deinen Arbeitsbereich oder Benutzer aus und gib das Dataset an, das du aktualisieren möchtest, indem du die entsprechenden Felder ausfüllst. Abhängig von deiner Systemkonfiguration könnte Power Automate dich dazu auffordern, dich bei Power BI anzumelden. Falls dies der Fall ist, gib deine Zugangsdaten ein und klicke anschließend auf <strong>“Speichern”</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*AbZ3GJhvQa9cTRjJ.png" /><figcaption>Einstellungen für die Aktion “Dataset aktualisieren”. Bild vom Autor.</figcaption></figure><p>Herzlichen Glückwunsch! Du hast erfolgreich einen Power Automate Flow eingerichtet, der dein ausgewähltes Datenset automatisch in den festgelegten Intervallen aktualisiert und so manuelles Eingreifen überflüssig macht.</p><p>Um zu überprüfen, ob die geplanten Aktualisierungen wie erwartet funktionieren, schau dir die Ausführungsverlauf deines Flows an. Klicke dazu einfach auf den Namen des Flows und scrolle nach unten, um ein Protokoll der vergangenen Ausführungen zu sehen. Ein grüner Status zeigt an, dass der Flow erfolgreich ausgeführt wurde.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*31L-0XjEJ-fGyz2P.png" /><figcaption>Ausführungsverlauf des Flows. Bild vom Autor.</figcaption></figure><p>Für alle, die gerne doppelt prüfen: Die Power BI-Weboberfläche bietet eine weitere Möglichkeit zur Verifizierung. Navigiere zu dem Arbeitsbereich oder Benutzer, in dem du den Bericht veröffentlicht hast, und sieh dir die entsprechende Dataset-Spalte an. Der Eintrag <strong>“Aktualisiert”</strong> sollte zeitlich mit deinem Workflow übereinstimmen. Geringe Abweichungen in der Zeit können durch den Aktualisierungsprozess selbst entstehen, was völlig normal ist und kein Grund zur Sorge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*55_FCORYNxMNxGnc.png" /><figcaption>Aktualisiertes Dataset und Bericht in der Power BI-Weboberfläche. Bild vom Autor.</figcaption></figure><h3>Einschränkungen</h3><p>Dieser kleine Workaround kann dein Leben deutlich einfacher machen und deine Kunden zufriedener, hat jedoch einen kleinen Nachteil: Das Aktualisierungsintervall hängt von der Größe deines Datensets ab. Je größer es ist, desto länger benötigt Power BI, um die Aktualisierung abzuschließen.</p><p>Wenn du ein Intervall wählst, das kürzer ist als die Ladezeit von Power BI, gerätst du in eine Endlosschleife, und deine Nutzer erhalten keine Updates. Daher ist es ratsam, mit einem Puffer zu planen, damit deine Lösung stabil läuft — selbst wenn das Datenvolumen im Laufe der Zeit wächst.</p><p>Viel Spaß beim Entwickeln! 🚀🌟</p><p><em>Wenn du Herausforderungen mit Power BI hast, steht dir das Daidalus-Team zur Seite. Mit unserer umfassenden Expertise in Power Platform-Lösungen und Data Analytics bieten wir maßgeschneiderte Strategien, um deine Power BI-Implementierungen zu optimieren und ihr volles Potenzial auszuschöpfen. Egal ob es um die Einrichtung effizienter Workflows, die Optimierung von Datenvisualisierungen oder die Lösung komplexer Probleme geht — unsere engagierten Experten sorgen dafür, dass dein Unternehmen die volle Power von Power BI nutzen kann. Arbeite mit uns zusammen und lass unsere Expertise deine datengetriebenen Entscheidungsprozesse transformieren!</em></p><p>✉️<em>info@daidalus.eu<br></em>🌐<a href="https://www.daidalus.eu/en">https://www.daidalus.eu</a><em><br></em>#️⃣<a href="https://www.linkedin.com/company/98713983/">https://www.linkedin.com/company/98713983</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=05a962ef8140" width="1" height="1" alt=""><hr><p><a href="https://medium.com/daidalus/how-to-power-bi-unbegrenzte-datenaktualisierungen-f%C3%BCr-importprojekte-planen-05a962ef8140">How to Power BI: Unbegrenzte Datenaktualisierungen für Importprojekte planen</a> was originally published in <a href="https://medium.com/daidalus">Daidalus</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Power BI: Scheduling Unlimited Dataset Refreshes for Import Projects]]></title>
            <link>https://medium.com/daidalus/how-to-power-bi-scheduling-unlimited-dataset-refreshes-for-import-projects-c08fd3601122?source=rss----c757f9ea79b5---4</link>
            <guid isPermaLink="false">https://medium.com/p/c08fd3601122</guid>
            <category><![CDATA[power-automate]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[power-bi]]></category>
            <dc:creator><![CDATA[Maurice Henry Buettgenbach]]></dc:creator>
            <pubDate>Tue, 07 Jan 2025 07:12:11 GMT</pubDate>
            <atom:updated>2025-01-07T07:11:53.689Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vrOKrht4pVFOLjX8" /><figcaption>Photo by <a href="https://unsplash.com/@pathdigital?utm_source=medium&amp;utm_medium=referral">path digital</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>You want the import features of Power BI with the near-time advantages of direct query? Look no further.</h4><h3>The big disadvantage of import projects in Power BI</h3><p>Power BI offers data analysts two options when setting up their projects: data import or direct query. Both options have their pros and cons but the biggest difference for most use cases is the resfresh rate. Direct query supports near-realtime data as every interaction triggers an update whereas import projects rely on scheduled or manual refreshs. You can ramp up the refresh rate of Power BI by manually scheduling 48 refreshes per day — if you have a Premium subscription. However, this will still only get you down to a 30 minute interval. So if the users want the seemless interaction of import projects with near-time data, you will have to think outside of the box.</p><h3>Utilizing Power Automate to generate unlimited on-demand refreshs</h3><p>Power Automate has an action that allows you to refresh a dataset of your choice. When paired with the scheduled cloud flow trigger, you can create a flow which refreshes based on the interval of your choice — all the way up to a few seconds.</p><h3>What you need</h3><p>Before diving into the Power Automate flow setup, ensure you have the essentials:</p><ul><li><a href="https://learn.microsoft.com/en-us/power-bi/enterprise/service-premium-what-is#power-bi-premium-generation-2">A Power BI Premium workspace or user license.</a> (And no, I don’t receive any affiliate perks!)</li><li><a href="https://powerautomate.microsoft.com/en-us/pricing/">A Power Automate user license (or higher).</a></li></ul><h3>Step-by-Step Implementation</h3><p>First, push your report to the premium workspace or user. <strong>An indicator that it’s premium is a little 💎 icon beside the name.</strong> This icon is only visible on the web interface, so it’s wise to verify before publishing.</p><p>Next, configure your Power Automate by accessing the web interface and navigate to “My flows”. Next click on “New flow” and choose the “Scheduled cloud flow” option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*g-tPFldQyoA0Yw7a.png" /><figcaption>New scheduled cloud flow option. Image by author.</figcaption></figure><p>Afterwards, you’ll be prompted to input details for your flow: name, start time, and interval. Finalize the flow once you’ve made your selections by clicking on “Create”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*Gz0ROS900F9oBMC0.png" /><figcaption>Scheduled cloud flow options. Image by author.</figcaption></figure><p>When you’ve successfully created the flow, you’ll be directed to a new page. On this page, select the “+New step” option. In the search bar, enter “Refresh a dataset”. <strong>From the search results, choose the Power BI action labeled “Refresh a dataset”.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*sXn6LeFbIc3xC_pm.png" /><figcaption>Refresh a dataset action. Image by author.</figcaption></figure><p>After adding the action, it becomes the subsequent step. <strong>At this point, choose your workspace or user and specify the dataset you want to target in the appropriate fields. </strong>Note that, based on your system configuration, Power Automate might prompt you to log into Power BI. If so, enter your credentials and then click “Save”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*AbZ3GJhvQa9cTRjJ.png" /><figcaption>Refresh action settings. Image by author.</figcaption></figure><p>Well done! <strong>You’ve adeptly set up a Power Automate flow to automatically refresh your chosen dataset at the specified intervals, eliminating manual intervention.</strong></p><p>To verify that your scheduled refreshes are functioning as expected, inspect the run history of your flow. Simply click on the flow’s name and scroll down to view a log of past executions. <strong>A green status indicates a successful run.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*31L-0XjEJ-fGyz2P.png" /><figcaption>Flow run history. Image by author.</figcaption></figure><p>For those who like double-checking: The Power BI web interface provides another verification method. Navigate to the workspace or user where you published the report and examine the corresponding dataset column. <strong>The “Refreshed” entry should align closely with your workflow’s time. </strong>Any slight discrepancies in timing can arise from the refresh process itself, which is a standard occurrence and nothing to be concerned about.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*55_FCORYNxMNxGnc.png" /><figcaption>Refreshed dataset and report in Power BI web interface. Image by author.</figcaption></figure><h3>Limitations</h3><p>This little work around can make your life much easier and your clients much happier but it comes with a small draw back: The refresh interval is depending on the size of your dataset. The larger it is, the longer Power BI needs to complete the refresh. So if you select an interval that is shorter than the BI’s load time, you will be trapped in a loop and your users will not get any updates. It would thus be wise to plan with some buffer so that your solution runs stable, even when the data volume growths over time.</p><p>Happy developing! 🚀🌟</p><p><em>If you’re facing challenges with Power BI, the Daidalus team is here to assist. With our deep expertise in Power Platform solutions and data analytics, we offer tailored strategies to streamline your Power BI implementations and maximize its potential. Whether it’s setting up efficient workflows, optimizing data visualization, or troubleshooting complex issues, our dedicated professionals are committed to ensuring your business leverages the full power of Power BI. Partner with us, and let our expertise transform your data-driven decision-making processes.</em></p><p>✉️<em>info@daidalus.eu<br></em>🌐<a href="https://www.daidalus.eu/en">https://www.daidalus.eu/en</a><em><br></em>#️⃣<a href="https://www.linkedin.com/company/98713983/">https://www.linkedin.com/company/98713983</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c08fd3601122" width="1" height="1" alt=""><hr><p><a href="https://medium.com/daidalus/how-to-power-bi-scheduling-unlimited-dataset-refreshes-for-import-projects-c08fd3601122">How to Power BI: Scheduling Unlimited Dataset Refreshes for Import Projects</a> was originally published in <a href="https://medium.com/daidalus">Daidalus</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to govern your vendor bank accounts in Microsoft Dynamics Finance]]></title>
            <link>https://medium.com/daidalus/how-to-govern-your-vendor-bank-accounts-in-microsoft-dynamics-finance-bf98b9a323be?source=rss----c757f9ea79b5---4</link>
            <guid isPermaLink="false">https://medium.com/p/bf98b9a323be</guid>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[ms-dynamics]]></category>
            <category><![CDATA[how-to]]></category>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[data-governance]]></category>
            <dc:creator><![CDATA[Daidalus UG]]></dc:creator>
            <pubDate>Fri, 22 Nov 2024 07:11:52 GMT</pubDate>
            <atom:updated>2023-12-23T13:11:02.487Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q_vb_Ag3RKIFpAuY" /><figcaption>Photo by <a href="https://unsplash.com/@fantasyflip?utm_source=medium&amp;utm_medium=referral">Philipp Katzenberger</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Revolutionize your vendor payment data in a modern and secure way.</h4><p>You are scaling and the vendor list is growing? Managing bank accounts is starting to feel like herding cats? You are not sure anymore whether your bank data is actually correct? Enter MS Dynamics Finance’s latest vendor bank account workflow and let us walk you through how this tool turned our finance nightmares into a streamlined dream.</p><h3>Getting the gears turning: Setting up</h3><p>Before the magic happens, make sure your Dynamics 365 is at version 10.0.32 or above. You will also need system administator priviledges for your instance.</p><p>Next, we need to activate the workflow within the “Feature management” settings so that it can be enabled in each legal entity individually:</p><ol><li>Navigate to System administration &gt; Workspaces &gt; Feature management.</li><li>Select the “All” tab and search for “Vendor bank account”.</li><li>Select the “Vendor bank account change proposal workflow” and click “Enable now”.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eASJ1NQRZMcQvNkKJkL0yA.png" /><figcaption>Feature management selection. Image by author.</figcaption></figure><h3>Laying the foundation: Workflow setup</h3><p>The feature is available now but needs to be configured on legal entity level. To do so, jump into the accounts payable parameters and open up the vendor bank accounts workflow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jTowhMl5pplzrXnjjVZJ4g.png" /><figcaption>Accounts payable parameters. Image by author.</figcaption></figure><p>Here we have a couple of important options to define, namely when our workflow will be activated and how it should behave. Your main options are:</p><h4><strong>Bank account approval (create)</strong></h4><p>This one is simple. Once you turn the option on, every newly created vendor bank account needs to be approved before it can be used.</p><h4><strong>Bank account approval (update)</strong></h4><p>Once a bank account has been created and approved, this option triggers a workflow whenever a specific parameter of the benk account has been modified. You can specify which changes should trigger the workflow depending on your needs. We have been extra careful and selected all options:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hc85so9gk7yVT7HjqJxNVA.png" /><figcaption>Bank account approval (update) triggers. Image by author.</figcaption></figure><h4>Data entity behavior (update)</h4><p>After we have defined when the workflow should be triggered, we need to set its behavior. You have to choose inbetween the following options:</p><ol><li><strong>Allow changes without approval</strong>: In this case, you get full freedom to update everything, no workflow approval needed (even if you selected something in the prior steps).</li><li><strong>Reject changes</strong>: With this setting, all modifications are rejected and changes of the vendor bank account data are neglected. However, be aware that this only applies on the fields you specified under the approval (update) section.</li><li><strong>Create change proposals</strong>: Turn this setting on, if you want to submit changes to your workflow. It will show you current values and compare them to the changes.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iCBpu0QfdyDUm1lzh4vYJQ.png" /><figcaption>Data entity behavior. Image by author.</figcaption></figure><p>Alright, settings are done, moving on to the design part. Navigate to the workflow designer within your accounts payable module via Accounts payable &gt; Setup &gt; Accounts payables workflows and create a new workflow with the type “Workflow approval for proposed vendor change”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rNtEi9mA_cHodmM0O2xlxw.png" /><figcaption>Creating a new workflow in accounts payable module. Image by author.</figcaption></figure><p>Your browser will download a file which you need to execute to open the workflow builder. We suggest to do so via Edge as there have been a number of issues reported in connection to Chrome. Once open, you can use the builder to design a workflow that fits to your organisation’s processes. We kept it simply for this exercise:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QiIMOZ-2uz_tzCAGCsmPbA.png" /><figcaption>Vendor bank account approval workflow designer. Image by author.</figcaption></figure><h3>Time to reap the rewards: Submitting a change to the worklow</h3><p>Once the appropriate decision tree has been prepared, we can enjoy the finished workflow. Go to a vendor bank account of your choice and try to make a change:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pDKxHsVSi4ZZJhkOCe8nXg.png" /><figcaption>Bank account name change approval workflow. Image by author.</figcaption></figure><p><em>Inspired by our guide? We’ve just scratched the surface. Dive into Microsoft’s </em><a href="https://learn.microsoft.com/en-us/dynamics365/finance/accounts-payable/vendor-bank-account-workflow"><em>official documentation</em></a><em> for the nitty-gritty or drop us a quick message — we are eager to help!</em></p><p><em>🌐 Website: </em><a href="https://www.daidalus.eu/en"><em>https://www.daidalus.eu/en</em></a><em><br>🔗 LinkedIn: </em><a href="https://de.linkedin.com/company/daidalus-ug"><em>https://de.linkedin.com/company/daidalus-ug</em></a><em><br>📸 Instagram: </em><a href="https://www.instagram.com/daidalus.eu/"><em>https://www.instagram.com/daidalus.eu/</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf98b9a323be" width="1" height="1" alt=""><hr><p><a href="https://medium.com/daidalus/how-to-govern-your-vendor-bank-accounts-in-microsoft-dynamics-finance-bf98b9a323be">How to govern your vendor bank accounts in Microsoft Dynamics Finance</a> was originally published in <a href="https://medium.com/daidalus">Daidalus</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>