Instructor: Thomas Festus (LinkedIn)
Microsoft's Power BI is a service for business analytics that offers interactive visualizations and business intelligence features with a user interface that is easy enough for end users to utilize to construct their own reports and dashboards. In order to gain insights and make data-driven decisions, it enables users to connect to many data sources, process and manipulate data, and generate visualizations.
Power BI uses the mathematical language DAX (Data Analysis Expressions) for data modeling and computations. Users can create sophisticated computations, aggregate data, and develop custom calculations based on business logic using this robust language.
In this data digest episode, I will walk you through the following highlighted below:
Let’s get started…
DAX expressions can be used to create measures, calculated columns, and calculated tables in Power BI. Measures are calculations based on an aggregation function, such as SUM, AVERAGE, MIN, or MAX. Calculated columns are created by using a DAX expression to generate a new column based on existing data. Calculated tables are created by using a DAX expression to generate a new table based on existing data.
DAX is a functional language that is used to create calculations, which can be combined with logical and conditional operators to create more complex calculations. Some of the commonly used DAX functions in Power BI include aggregate functions, date and time functions, statistical functions, text functions, financial functions, time intelligence functions, and table functions.
In DAX, variables are used to temporarily store and manipulate values or expressions. A variable is defined using the VAR keyword, followed by a variable name, an equal sign, and an expression. You can create variables within an expression by using <VAR>
Comments makes expression easier to understand and guides other users. In DAX, comments can be added to explain the purpose or logic of a formula or expression. A comment starts with two forward slashes (//) and everything after that on the same line is ignored by DAX. You can also use /* comment */ for multi-line comment.
To create a measure that sums up the unit of good sold column in the financial data.
Note: The symbol that represent the new measure is different from that of a calculated table and column. And also, the value generated from the created measure will not be physically shown but can be used in the report creation. Measures are very dynamic and powerful; this is because measures work in a filter context.
Note: It is not logical to add age and height, but this was used just for example purposes. Also, you can use other operators like multiplication, subtraction, division and so on the expression based on your requirement for the report.
Power BI's DAX is a potent tool for data analysis and modeling, and it can be utilized to build custom calculations that are suited to particular business needs.
The DAX (Data Analysis Expressions) language in Power BI is a powerful tool for performing calculations and creating measures and calculated columns. With DAX, you can create complex formulas that can analyze large amounts of data and provide insights into your data for viable decision making.
If you want to explore more on building your Microsoft Power BI skill, visit our learning path HERE
Also, if you want to get started with data analytics and looking to improving your skills, you can check out our Learning Track
Empowering individuals and businesses with the tools to harness data, drive innovation, and achieve excellence in a digital world.
Copyright 2025Resagratia. All Rights Reserved.