<?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 sunil surya on Medium]]></title>
        <description><![CDATA[Stories by sunil surya on Medium]]></description>
        <link>https://medium.com/@sunil.mvs?source=rss-e11994717a22------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*U2SqO4rf2jRGG0xCM03qRA.jpeg</url>
            <title>Stories by sunil surya on Medium</title>
            <link>https://medium.com/@sunil.mvs?source=rss-e11994717a22------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 08:08:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sunil.mvs/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[Unlocking the Power of DAX Macros]]></title>
            <link>https://medium.com/@sunil.mvs/unlocking-the-power-of-dax-macros-b36ac2f77b57?source=rss-e11994717a22------2</link>
            <guid isPermaLink="false">https://medium.com/p/b36ac2f77b57</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[dax]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[power-bi]]></category>
            <dc:creator><![CDATA[sunil surya]]></dc:creator>
            <pubDate>Fri, 20 Dec 2024 15:42:48 GMT</pubDate>
            <atom:updated>2024-12-20T15:42:48.177Z</atom:updated>
            <content:encoded><![CDATA[<p>Good afternoon ! This Friday, I am going to share my quick tools to generate short cuts on generating DAX formulas through macros.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*w4EgxfEBwTU-8wRn" /></figure><p>Power BI has become a cornerstone of modern data analytics, empowering organizations to extract meaningful insights efficiently. Central to its capabilities is DAX (Data Analysis Expressions), a robust formula language for data modeling and calculations. One of the most powerful uses of DAX lies in creating DAX macros — reusable expressions that streamline workflows and accelerate analysis. I am going to gift a macro which is very important in your data analysis.</p><p>In this article, we’ll focus on:</p><ol><li>What are DAX Macros and Why They Matter?</li><li>How DAX Macros Enable Reusability and Speed.</li><li>Developing descriptive statistical measures in jet speed.</li></ol><h3>1. What are DAX Macros and Why They Matter?</h3><p>DAX macros are essentially reusable templates or expressions written in DAX that simplify and standardize complex calculations. They serve as building blocks for efficient analytics in Power BI, enabling faster delivery of insights while maintaining consistency across reports.</p><h3>Key Benefits of DAX Macros:</h3><ul><li>Reusability: Define a calculation once and reuse it across multiple reports, saving time and effort.</li><li>Fast Delivery: Accelerate development by eliminating repetitive tasks.</li><li>Consistency: Ensure uniformity in calculations, reducing errors and improving reliability.</li></ul><p>While Power BI doesn’t have native “macros” like Excel, measures and calculated columns act as powerful alternatives. You can replicate macro-like behavior by creating reusable DAX expressions that encapsulate your logic.</p><h3>2. How DAX Macros Enable Reusability and Speed</h3><p>The ability to reuse DAX macros transforms how analysts work with data in Power BI. Here’s why they’re indispensable:</p><ul><li>Reduced Development Time: Complex calculations like year-over-year growth or cumulative totals can be encapsulated into a single measure and reused in multiple visuals.</li><li>Improved Collaboration: By defining standardized metrics, teams can share calculations seamlessly across projects.</li><li>Scalability: As datasets grow in size and complexity, DAX macros ensure calculations remain efficient and maintainable.</li></ul><p>For example, you might create a macro-like measure for calculating averages, median , quartiles etc, which can be applied across different numerical attributes. These measures can be used under different filter context.</p><h3>3. Practical Examples of DAX Macros in Action</h3><h3>Scenario: Developing Descriptive Statistical Measures in Jet Speed</h3><p>Imagine you’re tasked with providing a statistical summary of a dataset containing fields like Region, Sales, Date, and Quantity. Below are DAX macros designed to deliver descriptive statistics rapidly:</p><p>1.Mean (Average Sales):</p><pre>Avg_Sales = AVERAGE(Sales[Sales])</pre><p>Reuse this measure to calculate the average sales across regions, months, or product categories.</p><p>2.Median (Middle Value):</p><pre>Median_Sales = MEDIAN(Sales[Sales])</pre><p>This measure helps to identify the central tendency of sales data.</p><p>3. Standard Deviation (Sales Variability):</p><pre>StdDev_Sales = STDEV.S(Sales[Sales])</pre><p>Use this measure to understand the spread or dispersion of sales data.</p><p>4.Minimum and Maximum Sales:</p><pre>Min_Sales = MIN(Sales[Sales])<br>Max_Sales = MAX(Sales[Sales])</pre><p>Manually adding these general measures is bore and need patience.</p><p>By using DAX macro, you can quickly create basic statistical measures that are both reusable and highly informative. This approach not only accelerates delivery but also ensures that analyses are robust and consistent.</p><p>In this video Daniel explained how to effectively use macros. I would encourage to watch this <a href="https://www.youtube.com/watch?v=EHs5r3XCkO8">video</a> to understand Tabular editor and its features.</p><p>Thanks for going through my article. Here is the Gift for you. <a href="https://github.com/mvssunil86/DAX-Macros/blob/710ebd603682691d0b00729c54f69d5649fe6cb3/Basic%20Statistics.csx">https://github.com/mvssunil86/DAX-Macros/blob/710ebd603682691d0b00729c54f69d5649fe6cb3/Basic%20Statistics.csx</a></p><p>Select the numerical column from table and run the script.</p><p>I will share few more in coming times.</p><p>If you need help in running the script , connect to me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b36ac2f77b57" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Navigating Layoffs and Risk Mitigation]]></title>
            <link>https://medium.com/@sunil.mvs/navigating-layoffs-and-risk-mitigation-f0018590c41d?source=rss-e11994717a22------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0018590c41d</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[work]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[sunil surya]]></dc:creator>
            <pubDate>Fri, 20 Dec 2024 14:35:42 GMT</pubDate>
            <atom:updated>2024-12-20T14:58:20.228Z</atom:updated>
            <content:encoded><![CDATA[<p>In today’s global landscape, unexpected layoffs have become a common occurrence, affecting individuals regardless of their performance or experience. As more Business Global Centers (BGCs) emerge in India and AI continues to transform our work environment, this risk is becoming a constant, much like the inevitable ups and downs in business cycles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MDRf82XFmMQ5M2ltDWhR4A.png" /></figure><p>It’s essential to develop mental resilience to manage this risk and proactively establish safety nets across various dimensions. I have identified ten key dimensions to focus on for effective risk mitigation..</p><ol><li><strong>Relevant Technical and Communication Skills</strong>: Continuously upgrading your technical and communication skills will keep you competitive in the job market. Stay abreast of industry trends and developments to ensure your skill set remains relevant.</li><li><strong>Sustaining and Improving Networking</strong>: Building and maintaining a strong professional network can open doors to new opportunities. Attend industry events, join professional groups, and stay connected with former colleagues.</li><li><strong>Personal Brand</strong>: Cultivate a strong personal brand by showcasing your expertise and achievements. This can be through a well-maintained LinkedIn profile, publishing articles, or speaking at industry events.</li><li><strong>Financial Protection</strong>: Ensure you have a robust financial safety net in place. This includes having a healthy bank balance, diversified investments, and a budget to manage expenses during periods of unemployment.</li><li><strong>Personal Health Insurance</strong>: Secure personal health insurance to cover medical expenses, especially since company-provided insurance usually ends upon termination. This ensures you and your family are protected even in times of job transition.</li><li><strong>Professional Flexibility</strong>: Be open to exploring different roles or industries. This flexibility can provide more opportunities and reduce the impact of layoffs. Consider how your skills can transfer to other fields and be willing to pivot if necessary.</li><li><strong>Emotional Well-being</strong>: Taking care of your mental health is as important as your professional development. Practice mindfulness, seek support when needed, and engage in activities that help you manage stress and maintain a positive outlook.</li><li><strong>Personal Projects and Hobbies</strong>: Engage in personal projects or hobbies that can potentially turn into alternative income streams. This not only provides financial security but also adds to your skill set and professional versatility.</li><li><strong>Career Counseling and Mentorship</strong>: Seek advice from career counselors or mentors who can provide guidance, help you navigate career transitions, and offer insights on how to strengthen your professional profile.</li></ol><p>By diversifying your efforts across these dimensions, you’ll be better prepared to handle unexpected layoffs and maintain a strong, resilient career trajectory.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0018590c41d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>