New DAX functions
As we all know, Microsoft constantly adds new features, options, and functions to Power BI. While writing this book, Microsoft introduced 11 new DAX functions. This section briefly covers the new functions that I personally find more interesting and have many use cases. This section does not explain the syntax of the new functions; instead, we will refer to Microsoft’s official documentation website and explain the trickier points.
This section uses the AdventureWorksDW2019
SQL Server database as our sample data source, which can be downloaded from the following URL: https://learn.microsoft.com/en-us/sql/samples/adventureworks-install-configure?view=sql-server-ver16&WT.mc_id=DP-MVP-5003466.
NETWORKDAYS()
This function is very useful in calculating the number of working days by considering weekends and public holidays. We could calculate the number of working days before this function became available, but this function offers another level...