<?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[Stories by David Krakov on Medium]]></title>
        <description><![CDATA[Stories by David Krakov on Medium]]></description>
        <link>https://medium.com/@DavidKrakov?source=rss-8116ef27c97f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*jd4zpqaA7QEcGTlu.jpg</url>
            <title>Stories by David Krakov on Medium</title>
            <link>https://medium.com/@DavidKrakov?source=rss-8116ef27c97f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 19:18:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@DavidKrakov/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Where to build business logic on Snowflake: a PowerBI case study]]></title>
            <link>https://medium.com/snowflake/where-to-build-business-logic-on-snowflake-a-powerbi-case-study-6c45079ab86f?source=rss-8116ef27c97f------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c45079ab86f</guid>
            <category><![CDATA[honeydew]]></category>
            <category><![CDATA[semantic-layer]]></category>
            <category><![CDATA[tableau]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[snowflake]]></category>
            <dc:creator><![CDATA[David Krakov]]></dc:creator>
            <pubDate>Wed, 15 May 2024 14:42:02 GMT</pubDate>
            <atom:updated>2024-05-15T14:42:02.862Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*mn1HtYxhTL7jL95SYgLLNg.jpeg" /></figure><p>BI is the top workload on Snowflake for analytics. Yet, there is no “always correct” architecture for connecting BI to Snowflake.</p><p>Choosing the right trade-offs in the BI architecture has cost, performance, modeling, and governance implications.</p><p>At a high level, there are a few alternatives to consider:</p><ol><li><strong>Loading data into the BI tool</strong>: Create a copy of a dataset in BI (using PowerBI Import mode, Tableau’s Extract, etc.)</li><li><strong>Directly connecting BI and Snowflake</strong>: Run queries from BI in a Snowflake Virtual Data Warehouse (using PowerBI Direct Query, Tableau’s Live Connection, etc.)</li><li><strong>Standalone Semantic Layer on Snowflake</strong>: Recently, a third choice has emerged: standalone semantic layers that act as an intermediary between BI tools and Snowflake.</li></ol><figure><img alt="Import mode vs Direct query vs Semantic layer flow" src="https://cdn-images-1.medium.com/max/1024/0*6REACI-q0LutAckD" /></figure><p>In this post, we will look at trade-offs between the traditional approaches and the semantic layer, using <strong>PowerBI</strong> as an example for a user tool and <a href="https://honeydew.ai/"><strong>Honeydew</strong></a> Native Application as a Semantic Layer Powered By Snowflake.</p><p>Similar conclusions apply to other BI tools (like Tableau or Domo).</p><h3>What’s a Semantic Layer?</h3><p>A standalone <a href="https://honeydew.ai/blog/so-lets-talk-about-semantic-layers/">Semantic Layer</a> or a Metric Store offers a new approach: separate business logic from BI tools and ELT processes into a centralized location that serves all tools.</p><p>PowerBI includes a very powerful semantic engine that allows logic to be built in <a href="https://learn.microsoft.com/en-us/analysis-services/tabular-models/understanding-dax-in-tabular-models-ssas-tabular?view=asallproducts-allversions">DAX</a>. Business, like a YoY user growth metric can be built by analysts with DAX knowledge in PowerBI.</p><p>That definition though exists only in PowerBI — other tools like Tableau would not leverage that definition.</p><figure><img alt="BI-Centric Archictecture flow: Logic in BI" src="https://cdn-images-1.medium.com/max/1024/0*n3HeQ-2t0F02dQiK" /></figure><p>A standalone semantic layer takes a different approach. A metric is implemented in it is available to any consumption tool. It can be used in a PowerBI dashboard by the finance team for reporting; at the same time, it can be part of a Tableau worksheet for an analysis of product features impact on user growth; or used by an analyst writing SQL in Snowflake to see it by cohort.</p><figure><img alt="Semantic Layer Archicture: logic no longer in BI" src="https://cdn-images-1.medium.com/max/1024/0*I6G8RtICqnsigcbJ" /></figure><h3>The Traditional Approach: Logic in the Tool</h3><p>The traditional bi-centric approach is business logic encoded within the BI tool.</p><p>PowerBI + Snowflake is a common combination and can perform very well with that approach (especially using Keith Smith’s <a href="https://medium.com/snowflake/snowflake-and-power-bi-best-practices-and-recent-improvements-183e2d970c0c">Snowflake and PowerBI best practices</a>).</p><h3>When to use a direct query?</h3><p>In a direct query mode, data is served directly from Snowflake:</p><ul><li>Data freshness — always running on current data without the need to reload it.</li><li>Data size — some data is too large to be loaded into a BI tool.</li><li>Governance — when using a direct connection, can <a href="https://medium.com/snowflake/exploring-snowflake-data-governance-with-power-bi-50835f301cfc%5C">leverage Snowflake’s extensive data governance abilities</a> to protect and monitor access to data.</li><li>Avoid data duplication — an import is another data copy to manage.</li></ul><h3>When to load data instead?</h3><p>In import mode, data is loaded into PowerBI:</p><ul><li>Performance — direct queries are not always performant, requiring careful modeling and following the many <a href="https://medium.com/snowflake/snowflake-and-power-bi-best-practices-and-recent-improvements-183e2d970c0c">best practices</a> such as pre-aggregations and <a href="https://medium.com/snowflake/snowflake-power-bi-evaluating-query-parallelization-3ca80974ba27">query parallelization</a>.</li><li>Limited modeling — Direct Query in PowerBI sets a number of <a href="https://learn.microsoft.com/en-us/power-bi/connect-data/desktop-directquery-about#modeling-limitations">limitations</a>, for example when dealing with time metrics (”year to date”). Working around those limitations can be complex and error-prone.</li><li>Full native functionality — whether it is having date hierarchies in a date spine or being able to use every DAX and M function, an import mode is more native to the tool.</li><li>Multiple sources — when data is loaded from data sources that are not Snowflake.</li></ul><p>Note that, unlike other BI tools, PowerBI allows a combination of Direct Query and Import in a composite model to help find a middle ground between performance and functionality when the data is on Snowflake only.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Oe2cv4cBdIf1SSyF" /></figure><h3>The Other Way: Put The Logic Where The Data Is</h3><p>A semantic layer offers a different way of building the stack. From a tool perspective, it looks very similar to a direct query connection (PowerBI asks the semantic layer to compute a metric, instead of computing it in memory over data within PowerBI).</p><p>That way it shares many of the advantages of a direct query mode:</p><ul><li>Don’t think about data copies</li><li>Data freshness and data size are unlimited — everything comes from Snowflake</li><li>Governance is centralized in Snowflake</li></ul><h3>When to use a semantic layer over a direct query?</h3><ul><li>Performance on live Snowflake data is important</li><li>Need to share a logic definition with more than one tool (i.e PowerBI and Tableau)</li><li>Complex metric logic (composite metrics, non-additive metrics, time metrics)</li><li>Logic is part of a larger workflow involving ETL (i.e. with dbt)</li></ul><h3>When to use a direct query?</h3><ul><li>Legacy data transformation flows done in DAX and M: those might be better off implemented as SQL-based ELT before using a semantic layer.</li><li>No need for an extra moving part: a semantic layer is another component in the data stack. When there is no need for a separation of logic, it can become just another tool to manage.</li><li>Composite models that combine live connection with data imports.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NZZb2D1kHZgK2-QV" /></figure><h3>The Semantic Layer Difference</h3><p>There are a few fundamental ways in which a semantic layer is different from a direct query:</p><h3>Centralized Governance for Metrics</h3><p>Business leaders run by making choices — thousands of them, well, every day, across an entire organization. Being data-driven is about focus and coherency as much as it is about the right decision. That breaks when different people count metrics differently.</p><p>A definition for a metric (like counting users) underpins critical business actions. Should you invest in a promising new feature? Terminate an underperforming marketing channel? Expand sales abroad?</p><p>A semantic layer enables a single definition for a metric, and a lifecycle for its change management — review, approval, and centralized deployment. It allows the reuse of metrics (”Services Revenue” might be part of building overall “Revenue”) and the lineage to understand them.</p><h3>Better Performance on Snowflake</h3><p>BI tools are less optimized for a particular data source, which can lead to suboptimal query patterns (for example, PowerBI tends to send a few different queries one after another to compute a single widget, whereas a single query that performs a JOIN might be more efficient).</p><p>The main active performance tool available with live data is pre-aggregations. However, PowerBI pre-aggregations are limited to specific types of logic (sums and counts). They require an administrator to make pre-aggregation ETL logic and DAX logic align and to maintain synchronization of cache and data.</p><p>A standalone Semantic Layer native to Snowflake can generate efficient native queries. By controlling both metric and pre-aggregation logic together, it removes both modeling limitations and the need for manual synchronization.</p><h3>Multiple User Tools</h3><p>A common stack of a modern data-driven organization includes on average 6 different data consumption tools: for example, it can have Looker, PowerBI, Excel, Hex, DataGrip, and Snowsight, each serving a different team or use case.</p><p>When tools share the same data on Snowflake, they end up needing to share logic as well — from join paths to metric definitions. A semantic layer puts the logic where the data is, enabling to have multiple tools.</p><h3>Collaboration and Ownership</h3><p>Modern standalone semantic layers enable a development workflow separated from any single tool: git version control, environment separation, and distributing ownership of pieces of logic. This enables organizations to better track and manage their definitions as well as avoid conflicting definitions.</p><h3>In Conclusion,</h3><p>Trade-offs are important when building an architecture for BI and Snowflake, whether choosing to load data, query it directly, or combine different options.</p><p>For a semantic layer native to Snowflake, find Honeydew <a href="https://app.snowflake.com/marketplace/listing/GZTSZ14KQ9/honeydew-semantic-layer-enterprise-edition">in the Snowflake Marketplace</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c45079ab86f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/snowflake/where-to-build-business-logic-on-snowflake-a-powerbi-case-study-6c45079ab86f">Where to build business logic on Snowflake: a PowerBI case study</a> was originally published in <a href="https://medium.com/snowflake">Snowflake Builders Blog: Data Engineers, App Developers, AI, &amp; Data Science</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Varada + BI + Sisense]]></title>
            <link>https://medium.com/varada/varada-bi-sisense-f2db4db2a5d3?source=rss-8116ef27c97f------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2db4db2a5d3</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[data-lake]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <dc:creator><![CDATA[David Krakov]]></dc:creator>
            <pubDate>Wed, 17 Jul 2019 11:44:32 GMT</pubDate>
            <atom:updated>2019-07-17T12:29:11.773Z</atom:updated>
            <content:encoded><![CDATA[<h3>Varada + Sisense = Cloud BI</h3><h4>Cloud BI can fly on a data lake, as shown with Sisense</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u-opiYkxyHr3BBXBs2oazw.jpeg" /><figcaption>Flying on a lake</figcaption></figure><h3>We love Sisense</h3><p>Sisense is the industry leader in BI for complex data. At <a href="https://events.sisense.com/">Eureka!</a> last month, Sisense and we have given a sneak peek into the future. Using Varada, a BI dashboard on Sisense connects directly to 10B rows (see the <a href="https://vimeo.com/341425770">video</a>!). Queries return almost immediately. No back-end tuning is needed.</p><p>The folks at Sisense are smart. By knowing well the ins and outs of BI workflows, they’ve built a product that is a power-tool for BI deployments. From self-service analytics to building customer-facing data products. They are at the front of where the data world is going — give power to the users, and give simplicity to the engineers.</p><p>We are happy to be aligned with those folks on what BI truly needs.</p><h3>Varada is great for BI on the cloud</h3><p>Varada is a platform for fast data analytics on cloud data lakes. Which is a long way to say how much we love and help BI on the cloud.</p><p>The more data exists on a cloud data lake, the harder interactive BI on the data becomes. Your data might be on S3 due to its scale or structure. Queries are simply using a back-end tool as Athena or Presto. But there are a few fundamental reasons why connecting your favorite BI tool directly to the lake is challenging.</p><ol><li><strong>Volume</strong>: the data no longer fits in the memory of the BI tool. Even when it does, rebuilding the in-memory copy to keep the data fresh is a heavy operation. So a live connection is required to access the breadth of the data.</li><li><strong>Format:</strong> the data on the lake is not always in a format that BI can handle. Most BI tools need tables and relations. Data must be transformed to be usable, usually by an ETL job to create a copy.</li><li><strong>Model</strong>: efficient analysis of data requires its model to correspond to the BI needs. Partitioning, sorting, bucketing, denormalization and other data tuning techniques are needed. They require to run and manage various transformation jobs. A deep understanding of BI needs is needed to be effective. A high level of data expertise is needed as well.</li><li><strong>Dimensionality</strong>: so many data sources that can be used for effective analytics. The sheer breadth and variety of the data make it hard to create an effective model. The best insights can come from correlating different sources of data. Almost no tuning can capture this in advance.</li><li><strong>Concurrency</strong>: in a cloud environment, many users might interact with data coming from a few centralized sources like a lake. Workload management is a hard problem. It can become even harder if the data is copied from the lake to a traditional data warehouse.</li></ol><p>We at Varada built a platform that tackles the core of the problem. We eliminate most of the data modeling, copy management, complex data pipelines, and workload management for BI on a lake.</p><p>With Varada, the latest data is available for analysis. With predictably interactive response times. With easily defined in-place transformations. At a petabyte-scale.</p><h3>Find out more</h3><p>Register to our <a href="https://varada.io/join-our-beta">early adopter program</a> if you wish to do BI on a cloud data lake. Follow us on <a href="https://twitter.com/varadaio">Twitter</a> for news and announcements and visit our <a href="https://varada.io/">site</a> for more information.</p><p>// Cover photo by Photo by <a href="https://unsplash.com/@willianjusten?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Willian Justen de Vasconcellos</a> on <a href="https://unsplash.com/search/photos/flying-lake?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2db4db2a5d3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/varada/varada-bi-sisense-f2db4db2a5d3">Varada + BI + Sisense</a> was originally published in <a href="https://medium.com/varada">Varada</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>