Simpler DAX ? = Power Query
Complex multiple lines of DAX being reduced to 5 lines of code

Simpler DAX ? = Power Query

If you are struggling to write a complicated DAX formula then the answer may be to step back and do a little Power Query Magic to help yourself.

The liberal use of helper "flag" columns in Power Query can very often simplify the DAX required.

I hope you find this useful.



The team and I at Access Analytic develop Power BI and Excel solutions for clients in Australia and deliver training around the World.

Reach out to us at [email protected] if you are interested in us assisting you.

https://accessanalytic.com.au/


Wyn

Author of "Power BI for the Excel Analyst"

Microsoft MVP

No alt text provided for this image
Cherian Iype

Business Intelligence, Data Analytics, Reporting & Insights | KPI Metrics, Dashboards & Storytelling | IBCS Certified | Performance Management | Operational Excellence| CX, Training, L&D

1 年

thx for sharing this Wyn Hopkins this is in line w/ Roche's Maxim do your transformations "as far upstream as possible, and downstream as necessary" Go Data! Go PQ, PBI :)

Sai Dev

Technical Architect, ValueLabs | Power BI| Tableau | SQL | Data Modeling | Version Control | Prompt Engineering

1 年

Great Post Wyn Hopkins I have always emphasised this part of creating a great Data model with all your necessary columns and the amount of difference this makes while writing DAX is humongous and makes your life really easy

要查看或添加评论,请登录

Wyn Hopkins的更多文章

  • The Best Dependent Drop Down Technique

    The Best Dependent Drop Down Technique

    Driven by a gauntlet laid down by friend and fellow MVP Mark Proctor on our Unpivot podcast recently I revisited my…

    1 条评论
  • Should you use Measures for Conditional Formatting?

    Should you use Measures for Conditional Formatting?

    Streamline Your Power BI Conditional Formatting with Measures I've always found the built-in conditional formatting in…

    6 条评论
  • Consolidate and Hyperlink to Excel files on SharePoint

    Consolidate and Hyperlink to Excel files on SharePoint

    In this video, we're diving into the world of Excel and Power BI, focusing on creating hyperlinks for easy referencing…

    4 条评论
  • The greatest multi-level Excel drop-down list ever!

    The greatest multi-level Excel drop-down list ever!

    One-Off dependent drop down lists in data validation are relatively straightforward: here's a technique using XLOOKUP…

    5 条评论
  • Default Your Slicer to the Current Month in Power BI

    Default Your Slicer to the Current Month in Power BI

    First Published November 2022 on our YouTube Channel Join 65,000+ subscribers to stay up to date with new videos…

    4 条评论
  • Power BI Licensing Explained

    Power BI Licensing Explained

    What are the differences between: Power BI Free (soon to be renamed Fabric Free) Pro: $10 USD pp/pm PPU (Premium Per…

    2 条评论
  • Power BI May 2023 Release

    Power BI May 2023 Release

    The May version of Power BI desktop is out This is a very quick post highlighting my 2 favourite picks: 1. Azure Maps…

    5 条评论
  • Power BI Explained

    Power BI Explained

    A simple explanation of Power BI I hope you find this useful. Power BI continues to go from strength to strength and…

  • SUMX explained.

    SUMX explained.

    SUMX is a DAX function that can be used in an Excel Data Model (aka Power Pivot) to create a temporary column…

    6 条评论
  • XLOOKUP v Power Query v Power Pivot

    XLOOKUP v Power Query v Power Pivot

    When combining tables in Excel there are several options. In this video I show you XLOOKUP, Power Query Merge and a…

    5 条评论

社区洞察

其他会员也浏览了