

{"id":19677,"date":"2018-07-27T03:45:32","date_gmt":"2018-07-27T03:45:32","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=19677"},"modified":"2019-06-18T09:19:38","modified_gmt":"2019-06-18T03:49:38","slug":"power-bi-dax-basics","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/","title":{"rendered":"DAX in Power BI &#8211; Functions you need to be Aware Of!!"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:1795,&quot;href&quot;:&quot;https:\\\/\\\/powerbi.microsoft.com\\\/en-us\\\/partner-showcase&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20230926054825\\\/https:\\\/\\\/powerbi.microsoft.com\\\/en-us\\\/partner-showcase\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-10 00:56:53&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-13 11:43:24&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-16 13:52:21&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2025-12-19 18:19:09&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-23 10:56:31&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-27 17:10:24&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-31 16:47:46&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-04 14:42:39&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-09 08:28:47&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-12 15:33:31&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-16 12:38:19&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-19 14:40:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-23 12:06:09&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-26 12:32:54&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-29 21:51:33&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-02 04:06:08&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-05 08:15:38&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-08 10:46:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-11 19:53:31&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-15 02:11:18&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-18 11:33:30&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-23 13:27:48&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-27 11:45:40&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-02 16:46:07&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-06 08:45:25&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-10 11:58:14&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-14 11:10:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-17 16:50:26&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-21 16:54:17&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-25 02:35:35&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-30 10:36:44&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-03 09:12:14&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-06 10:35:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-09 15:02:33&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-13 03:37:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-17 01:35:39&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-20 11:35:34&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-04-23 14:06:13&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-28 05:51:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-02 14:44:54&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-05-05 15:30:04&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-05-09 02:16:14&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-05-12 05:27:07&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-05-15 14:47:14&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-05-19 15:18:03&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-05-23 17:52:13&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-05-27 23:25:49&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-05-31 09:41:45&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-06-03 15:28:22&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-06-07 05:40:14&quot;,&quot;http_code&quot;:404}],&quot;broken&quot;:true,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-07 05:40:14&quot;,&quot;http_code&quot;:404},&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<p>Another important topic that we have is DAX in Power BI. It is a very essential topic in Power BI, therefore we gave our best to provide you with a thorough article on the concepts and uses of DAX formulas while working on <strong><em><a href=\"https:\/\/data-flair.training\/blogs\/power-bi-desktop\/\">Power BI Desktop<\/a> <\/em><\/strong>for data analysis.<\/p>\n<p>So, let&#8217;s quickly start the tutorial.<\/p>\n<h2>DAX in Power BI<\/h2>\n<p>DAX stands for <strong>Data Analysis Expressions<\/strong> i.e. such expressions or formulas that are used for data analysis and calculations. These expressions are a collection and combination of <em>functions, operators, and constants<\/em> that are evaluated as one formula to yield results (value or values). DAX formulas are very useful in BI tools like <em>Power BI<\/em> as they help data analysts to use the data sets they have to the fullest potential.<\/p>\n<p>With the help of the DAX language, analysts can discover new ways to calculate data values they have and come up with fresh insights.<\/p>\n<p>Have a look at some key points about DAX which will help you understand the concept better.<\/p>\n<ul>\n<li>DAX is a functional language i.e. its complete code is always a function. An executable DAX expression may contain <em>conditional statements, nested functions, value references,<\/em> etc.<\/li>\n<li>DAX formulas have two primary data types; <strong>Numeric <\/strong>and <strong>Non-numeric<\/strong> or Others. The numeric data type includes <em>integers, decimals, currency,<\/em> etc. Whereas, the non-numeric consists of<em> strings and binary objects<\/em>.<\/li>\n<li>DAX expressions are evaluated from the innermost function going to the outermost one at the last. This makes formulating of a DAX formula important.<\/li>\n<\/ul>\n<p>You can use values of mixed data types as inputs in a DAX formula and the conversion will take place automatically during execution of the formula. The output values will be converted into the data type you instructed for the DAX formula.<\/p>\n<h3>Importance of DAX in Power BI<\/h3>\n<p>It is natural to think why DAX is so important to learn for working efficiently on Power BI. Well, as we have seen in our previous tutorials, making reports using the functionalities of<em> data importing,<\/em> <em>transforming and <strong><a href=\"https:\/\/data-flair.training\/blogs\/power-bi-custom-visualization\/\">visualizing in Power BI<\/a><\/strong><\/em>\u00a0is a smooth experience. A user needs to have basic knowledge of Power BI Desktop to create a decent report with all the available data. But, if you want to level up and use advanced calculations in your Power BI reports, you need DAX.<\/p>\n<p>Let\u2019s say you want to make a visual to analyze growth percentage across different states of a country or need to compare year-over-year growth\/sales. The data fields that you import in a data table are generally not enough to be used for such purposes.<\/p>\n<p>For this, you need to make new measures using DAX language. In this way, you can create new measures, use them for creating exclusive visualizations, and have unique insights into data. With such unique insights into data, you can have fitting solutions for the business problems that you might miss with the usual way of analysis. Thus, DAX makes data analysis using Power BI, a smart and intelligent approach.<\/p>\n<h3>DAX Formula &#8211; Syntax<\/h3>\n<p>The initial and most crucial step in learning any language is to break it down into definitive elements and understand its elements. And, that is why we study the syntax of a language. Given below is an example of the DAX formula. We will understand this formula and its syntax elements with the help of this example.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-syntax.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-59721\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-syntax.png\" alt=\"Power BI DAX syntax\" width=\"639\" height=\"150\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-syntax.png 639w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-syntax-150x35.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-syntax-300x70.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-syntax-520x122.png 520w\" sizes=\"auto, (max-width: 639px) 100vw, 639px\" \/><\/a><\/p>\n<p>We have explained each syntax element labeled in the image in the points below:<\/p>\n<p>A: It is the<strong> name<\/strong> of the new measure (Projected Sales 2019).<\/p>\n<p>B: It is the equals sign (=) which is an operator indicating the <strong>start of the DAX formula<\/strong> and equating the two sides.<\/p>\n<p>C: It is the DAX function used to<strong> add the values<\/strong> of a given field (Total Sales 2018) from a table (Sales). The function used here is <strong>SUM.<\/strong><\/p>\n<p>D: The parenthesis () is used to <strong>enclose and define arguments<\/strong> in an expression. Every function must have at least one argument.<\/p>\n<p>E: It is the<strong> name of the table<\/strong> from which a field or column is taken in the formula (Sales).<\/p>\n<p>F: It is the <strong>name of the field<\/strong> from which the formula will use the values. For instance, the function SUM will apply itself on the values of the column or field [Total Sales 2018] of the table Sales.<\/p>\n<p>G: It is<strong> another operator<\/strong> used for multiplication. Although, the syntax elements from A to F constitutes the basic syntax of DAX.<\/p>\n<p>Thus, in simpler words, this DAX formula commands the system to calculate the product of sum of the values in Total Sales 2018 and 1.08 (8% increase) and store the value in a new field or column known as Projected Sales 2019.<\/p>\n<p><em><strong>Want to know &#8211;\u00a0<a href=\"https:\/\/data-flair.training\/blogs\/measures-in-power-bi\/\">How to Create Measures in Power BI Desktop<\/a>?<\/strong><\/em><\/p>\n<h4>DAX Calculation Types<\/h4>\n<p>So, apparently, the DAX formulas can also be called as calculations as they calculate an input value and return a resultant value. You can create two types of expressions or calculations using DAX in Power BI; calculated columns and calculated measures.<\/p>\n<ul>\n<li><strong>Calculated Columns:<\/strong> The calculated columns create a new column in your existing table. The only difference between a regular column and a calculated column is that it is necessary to have at least one function in the calculated column. These are used when you want to create a column with filtered or sorted information.<\/li>\n<\/ul>\n<p>To create a calculated column:<\/p>\n<ol>\n<li>Go to the <strong>Modeling<\/strong> tab in Power BI Desktop.<\/li>\n<li>Then select<strong> New Column<\/strong> option. A Formula bar will open showing \u201cColumn =\u201d. You can replace the \u201cColumn\u201d word with the column name you want.<\/li>\n<li>After this, enter the expression for the calculated column on the right of the equals to sign.<\/li>\n<\/ol>\n<ul>\n<li><strong>Calculated Measures:<\/strong> A calculated measure creates a field having aggregated values such a <em>sum, ratios, percentages, averages,<\/em> etc.<\/li>\n<\/ul>\n<p>To create a calculated measure:<\/p>\n<ol>\n<li>Go to the <strong>Modeling<\/strong> tab in Power BI Desktop.<\/li>\n<li>Then select <strong>New Measure<\/strong> option. A Formula bar will open showing \u201cMeasure =\u201d. You can replace the \u201cMeasure\u201d word with the measure name you want.<\/li>\n<li>After this, enter the expression for the calculated measure on the right of the equals to sign.<\/li>\n<li>Once you create the measure, you can modify your measure name with a calculator icon next to it, under the table name you created the measure in.<\/li>\n<\/ol>\n<h3><span style=\"color: #666666\"><span style=\"font-size: 20px\">DAX Functions<\/span><\/span><\/h3>\n<p>A DAX function is a predefined formula which performs calculations on values provided to it in arguments. The arguments in a function need to be in a particular order and can be a<em> column reference, numbers, text, constants, another formula or function, or a logical value<\/em> such as TRUE or FALSE. Every function performs a particular operation on the values enclosed in an argument. You can use more than one argument in a DAX formula.<\/p>\n<h5>Key Points about DAX Functions<\/h5>\n<p>Here are some unique facts about DAX functions that you must know in order to understand them better:<\/p>\n<ul>\n<li>Any DAX function always refers to a complete column\/field or a table. It will never refer to individual values. If you want to use the functions on separate values within a column, you need to apply filters in a DAX formula.<\/li>\n<li>DAX functions provide the flexibility to create a formula that is applied on a row-by-row basis. The calculations or formulas get applied as per the context of the values in each row.<\/li>\n<li>In some cases, DAX functions return a full table which can be used in other DAX formulas that need a complete set of values. However, you cannot display this table\u2019s contents.<\/li>\n<li>DAX functions have a category known as time intelligence functions. Such functions are used to calculate time\/date ranges and periods.<\/li>\n<\/ul>\n<h4>Types of DAX functions<\/h4>\n<h5>1. Date and Time Functions<\/h5>\n<p>The date time functions carry out calculations on the date and time values. The data type of these values is always datetime data type.<\/p>\n<ul>\n<li>CALENDAR<\/li>\n<li>CALENDARAUTO<\/li>\n<li>DATE<\/li>\n<li>DATEDIFF<\/li>\n<li>DATEVALUE<\/li>\n<li>DAY<\/li>\n<li>EOMONTH<\/li>\n<li>HOUR<\/li>\n<li>MINUTE<\/li>\n<li>MONTH<\/li>\n<li>NOW<\/li>\n<li>SECOND<\/li>\n<li>TIME<\/li>\n<li>TIMEVALUE<\/li>\n<li>TODAY<\/li>\n<li>WEEKDAY<\/li>\n<li>WEEKNUM<\/li>\n<li>YEAR<\/li>\n<li>YEARFRAC<\/li>\n<\/ul>\n<h5>2. Time Intelligence Functions<\/h5>\n<p>The time-intelligence functions are used to evaluate values over a fixed period such as <em>days, weeks, months, quarter, years,<\/em> etc. You can specify a time period using these functions and compare two scenarios in your report.<\/p>\n<ul>\n<li>CLOSINGBALANCEMONTH<\/li>\n<li>CLOSINGBALANCEQUARTER<\/li>\n<li>CLOSINGBALANCEYEAR<\/li>\n<li>DATEADD<\/li>\n<li>DATESBETWEEN<\/li>\n<li>DATESINPERIOD<\/li>\n<li>DATESMTD<\/li>\n<li>DATESQTD<\/li>\n<li>DATESYTD<\/li>\n<li>ENDOFMONTH<\/li>\n<li>ENDOFQUARTER<\/li>\n<li>ENDOFYEAR<\/li>\n<li>FIRSTDATE<\/li>\n<li>FIRSTNONBLANK<\/li>\n<li>LASTDATE<\/li>\n<li>NEXTQUARTER<\/li>\n<li>LASTNONBLANK<\/li>\n<li>NEXTDAY<\/li>\n<li>NEXTMONTH<\/li>\n<\/ul>\n<h5>3. Information Functions<\/h5>\n<p>The information functions are used to provide certain information on the data values contained in rows and columns. It evaluates the given condition in a function for the value given and return TRUE or FALSE. For instance, the function ISERROR will return TRUE if the value evaluated contains an error.<\/p>\n<ul>\n<li>CONTAINS<\/li>\n<li>CUSTOMDATA<\/li>\n<li>IN Operator \/ CONTAINSROW function<\/li>\n<li>ISBLANK<\/li>\n<li>ISERROR<\/li>\n<li>ISEVEN<\/li>\n<li>ISINSCOPE<\/li>\n<li>ISLOGICAL<\/li>\n<li>ISNONTEXT<\/li>\n<li>ISNUMBER<\/li>\n<li>ISODD<\/li>\n<li>ISONORAFTER<\/li>\n<li>ISTEXT<\/li>\n<li>LOOKUPVALUE<\/li>\n<li>USERNAME<\/li>\n<\/ul>\n<h5>4. Logical Functions<\/h5>\n<p>The logical functions are used to evaluate an expression or argument logically and return TRUE or FALSE if the condition is met or not.<\/p>\n<ul>\n<li>AND<\/li>\n<li>FALSE<\/li>\n<li>IF<\/li>\n<li>IFERROR<\/li>\n<li>IN<\/li>\n<li>NOT<\/li>\n<li>OR<\/li>\n<li>SWITCH<\/li>\n<li>TRUE<\/li>\n<\/ul>\n<h5>5. Mathematical and Trigonometric Functions<\/h5>\n<p>The mathematical and trig functions are used to perform all sorts of mathematical functions on the referred values. Given below, is a list of all the available math and trig DAX functions in Power BI.<\/p>\n<ul>\n<li>ABS<\/li>\n<li>ACOS<\/li>\n<li>ACOSH<\/li>\n<li>ASIN<\/li>\n<li>ASINH<\/li>\n<li>ATAN<\/li>\n<li>ATANH<\/li>\n<li>CEILING<\/li>\n<li>COMBIN<\/li>\n<li>COMBINA<\/li>\n<li>COS<\/li>\n<li>COSH<\/li>\n<li>CURRENCY<\/li>\n<li>DEGREES<\/li>\n<li>DIVIDE<\/li>\n<li>EVEN<\/li>\n<li>EXP<\/li>\n<li>FACT<\/li>\n<li>FLOOR<\/li>\n<\/ul>\n<h5>6. Statistical Functions<\/h5>\n<p>These functions carry out statistical and aggregation functions on data values in a DAX expression in Power BI. The list of available statistical functions is given below.<\/p>\n<ul>\n<li>ADDCOLUMNS<\/li>\n<li>APPROXIMATEDISTINCTCOUNT<\/li>\n<li>AVERAGE<\/li>\n<li>AVERAGEA<\/li>\n<li>AVERAGEX<\/li>\n<li>BETA.DIST<\/li>\n<li>BETA.INV<\/li>\n<li>CHISQ.INV<\/li>\n<li>CHISQ.INV.RT<\/li>\n<li>CONFIDENCE.NORM<\/li>\n<li>CONFIDENCE.T<\/li>\n<li>COUNT<\/li>\n<li>COUNTA<\/li>\n<li>COUNTAX<\/li>\n<li>COUNTBLANK<\/li>\n<li>COUNTROWS<\/li>\n<li>COUNTX<\/li>\n<li>CROSSJOIN<\/li>\n<li>DISTINCTCOUNT<\/li>\n<li>EXPON.DIST<\/li>\n<li>GENERATE<\/li>\n<li>GENERATEALL<\/li>\n<li>GEOMEAN<\/li>\n<li>GEOMEANX<\/li>\n<li>MAX<\/li>\n<li>MAXA<\/li>\n<li>MAXX<\/li>\n<li>MEDIAN<\/li>\n<li>MEDIANX<\/li>\n<li>MIN<\/li>\n<li>MINA<\/li>\n<li>MINX<\/li>\n<\/ul>\n<h5>7. Text Functions<\/h5>\n<p>The text functions in Power BI are very similar to the string functions of Excel. These functions evaluate string values.<\/p>\n<ul>\n<li>BLANK<\/li>\n<li>CODE<\/li>\n<li>COMBINEVALUES<\/li>\n<li>CONCATENATE<\/li>\n<li>CONCATENATEX<\/li>\n<li>EXACT<\/li>\n<li>FIND<\/li>\n<li>FIXED<\/li>\n<li>FORMAT<\/li>\n<li>LEFT<\/li>\n<li>LEN<\/li>\n<li>LOWER<\/li>\n<li>MID<\/li>\n<li>REPLACE<\/li>\n<li>REPT<\/li>\n<li>RIGHT<\/li>\n<li>SEARCH<\/li>\n<li>SUBSTITUTE<\/li>\n<li>TRIM<\/li>\n<li>UNICHAR<\/li>\n<li>UPPER<\/li>\n<li>VALUE<\/li>\n<\/ul>\n<h5>8. Parent-Child functions<\/h5>\n<p>The parent and child functions are used for data values that are a part of a parent-child hierarchy.<\/p>\n<ul>\n<li>PATH<\/li>\n<li>PATHCONTAINS<\/li>\n<li>PATHITEM<\/li>\n<li>PATHITEMREVERSE<\/li>\n<li>PATHLENGTH<\/li>\n<\/ul>\n<h5>9. Other functions<\/h5>\n<p>There a bunch of functions that do not fit in any particular category. These are also very useful functions.<\/p>\n<ul>\n<li>DATATABLE<\/li>\n<li>ERROR<\/li>\n<li>EXCEPT<\/li>\n<li>GENERATESERIES<\/li>\n<li>GROUPBY<\/li>\n<li>INTERSECT<\/li>\n<li>ISEMPTY<\/li>\n<li>ISSELECTEDMEASURE<\/li>\n<li>NATURALINNERJOIN<\/li>\n<li>NATURALLEFTOUTERJOIN<\/li>\n<li>SELECTEDSMEASURE<\/li>\n<li>SELECTEDMEASUREFORMATSTRING<\/li>\n<li>SELECTEDSMEASURENAME<\/li>\n<li>SUMMARIZECOLUMNS<\/li>\n<li>Table Constructor<\/li>\n<li>TREATAS<\/li>\n<li>UNION<\/li>\n<li>VAR<\/li>\n<\/ul>\n<h5>10. Table functions<\/h5>\n<p>The table functions in DAX formulas for <a href=\"https:\/\/powerbi.microsoft.com\/en-us\/partner-showcase\/\">Power BI<\/a> are used to apply operations and conditions on entire tables. The output of table functions is used as inputs in other expressions or arguments in a DAX formula. The results of these functions retain the relationships between columns of that table.<\/p>\n<ul>\n<li>FILTER<\/li>\n<li>ALL<\/li>\n<li>VALUES<\/li>\n<li>DISTINCT<\/li>\n<li>RELATEDTABLE<\/li>\n<\/ul>\n<p><em><strong>Let&#8217;s explore <a href=\"https:\/\/data-flair.training\/blogs\/power-bi-dashboard\/\">How to Create Power BI Dashboard<\/a><\/strong><\/em><\/p>\n<h4>DAX Context<\/h4>\n<p>The concept of DAX context is essential in gaining a complete understanding of DAX language and how it works in Power BI. There are two types of DAX contexts; Row context and Filter context.<\/p>\n<ul>\n<li><strong>Row context:<\/strong> Row context means taking into account a specific row that has been filtered in a DAX expression. The row context focuses on the operation of the formula on the current row. This type of context is most often applied to the measure rows.<\/li>\n<li><strong>Filter context:<\/strong>\u00a0The filter context takes focusing on values one step ahead. In row context, we were filtering out and applying operations on specific rows. But in filter context, the expression applies a filter to focus on specific values within a row. Thus, the filter context is applied in addition to the row context to narrow down the scope of calculation to specific values. Filter context is applied when we use functions like CALCULATE, FILTER, RELATED, ALL, etc.<\/li>\n<\/ul>\n<h3>Creating a Measure Formula using DAX<\/h3>\n<p><strong>Step 1:<\/strong> To create a measure using the DAX formula, open your Power BI Desktop app. In the Power BI Desktop, you can create a new measure in two ways. One, right-click on the table\u2019s name in which you wish to add the measure field and select <strong>New measure<\/strong>.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/right-click-on-table-name.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-59723\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/right-click-on-table-name.png\" alt=\"right-click on table name\" width=\"1906\" height=\"1026\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/right-click-on-table-name.png 1906w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/right-click-on-table-name-150x81.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/right-click-on-table-name-300x161.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/right-click-on-table-name-768x413.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/right-click-on-table-name-1024x551.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/right-click-on-table-name-520x280.png 520w\" sizes=\"auto, (max-width: 1906px) 100vw, 1906px\" \/><\/a><\/p>\n<p>Or, you can go to the <strong>Modeling<\/strong> tab and click on New measure option.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Modeling-tab.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-59724\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Modeling-tab.png\" alt=\"Modeling tab\" width=\"1335\" height=\"179\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Modeling-tab.png 1335w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Modeling-tab-150x20.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Modeling-tab-300x40.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Modeling-tab-768x103.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Modeling-tab-1024x137.png 1024w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/Modeling-tab-520x70.png 520w\" sizes=\"auto, (max-width: 1335px) 100vw, 1335px\" \/><\/a><\/p>\n<p><strong>Step 2:<\/strong> In the formula bar, start with entering the name of your new measure. In the supposed scenario, we are using the name ProjectedSales2019.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-name.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-59725\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-name.png\" alt=\"Power BI DAX Basics - enter name\" width=\"214\" height=\"42\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-name.png 214w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-name-150x29.png 150w\" sizes=\"auto, (max-width: 214px) 100vw, 214px\" \/><\/a><\/p>\n<p><strong>Step 3:\u00a0<\/strong>Next, enter the name of the function that you want to use. Start typing the name of the function and suggestions will appear in the list. A small section showing a description of the function you selected will also appear. Notice in the image below where we have selected the SUM function.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-function-name.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-59726\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-function-name.png\" alt=\"enter function name - Power BI DAX Basics\" width=\"798\" height=\"209\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-function-name.png 798w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-function-name-150x39.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-function-name-300x79.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-function-name-768x201.png 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-function-name-520x136.png 520w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/a><\/p>\n<p><strong>Step 4:\u00a0<\/strong>Then, put a parenthesis \u201c()\u201d and write the name of the table or column you are referring to.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-table-name.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-59727\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-table-name.png\" alt=\"enter table name - Power BI DAX Basics\" width=\"561\" height=\"344\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-table-name.png 561w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-table-name-150x92.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-table-name-300x184.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-table-name-520x319.png 520w\" sizes=\"auto, (max-width: 561px) 100vw, 561px\" \/><\/a><\/p>\n<p><strong>Step 5:\u00a0<\/strong>You can also specify a column within that table. The function will apply to the values within the selected column. Close the parenthesis.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/select-column.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-59728\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/select-column.png\" alt=\"select column - Power BI DAX Basics\" width=\"583\" height=\"346\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/select-column.png 583w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/select-column-150x89.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/select-column-300x178.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/select-column-520x309.png 520w\" sizes=\"auto, (max-width: 583px) 100vw, 583px\" \/><\/a><\/p>\n<p><strong>Step 6:\u00a0<\/strong>Further, you can add more operators, other functions, constants to increase the complexity of the formula.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-operator.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-59729\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-operator.png\" alt=\"enter operator - Power BI DAX Basics\" width=\"576\" height=\"41\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-operator.png 576w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-operator-150x11.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-operator-300x21.png 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/enter-operator-520x37.png 520w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/a><\/p>\n<p>The DAX formula that we created will create a new measure named \u201cProjectedSales2019\u201d.<\/p>\n<p>ProjectedSales2019 = SUM(Sales[TotalSales2018])* 1.08<\/p>\n<p>Here, we have multiplied the sum of previous year\u2019s (2018) sales by 1.08 because an increase in sales by 8% is expected in the year 2019. This will give us the projected sales for the year 2019.<\/p>\n<p><strong>Step 7:\u00a0<\/strong>Save this and your newly created measure will appear in the <strong>Fields<\/strong> column under the table Sales. Every measure field created like this has a calculator icon beside it.<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/new-measure.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-59730\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/new-measure.png\" alt=\"new measure - Power BI DAX Basics\" width=\"273\" height=\"321\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/new-measure.png 273w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/new-measure-128x150.png 128w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/new-measure-255x300.png 255w\" sizes=\"auto, (max-width: 273px) 100vw, 273px\" \/><\/a><\/p>\n<h3>Summary<\/h3>\n<p>With this, we conclude our tutorial on DAX in Power BI. We hope the information provided here was helpful enough to give you a fundamental knowledge of DAX formulas. You can create any logically sound DAX formula by using the existing columns and tables in your Power BI to make more detailed and advanced reports.<\/p>\n<p>Share your feedback through comments.<\/p>\n<p><em><strong>Check out the best article for your Power BI Interview- <a href=\"https:\/\/data-flair.training\/blogs\/best-power-bi-interview-questions\/\">Power BI Interview Questions<\/a><\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another important topic that we have is DAX in Power BI. It is a very essential topic in Power BI, therefore we gave our best to provide you with a thorough article on the&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":59722,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42],"tags":[3570,9668,9669,9673],"class_list":["post-19677","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-power-bi","tag-dax-basics-in-power-bi","tag-power-bi-dax-basics","tag-power-bi-dax-functions","tag-power-bi-dax-syntax"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>DAX in Power BI - Functions you need to be Aware Of!! - DataFlair<\/title>\n<meta name=\"description\" content=\"Check out the importance of DAX in Power BI, DAX formula syntax, calculation types, its functions, and process to create measure formula using DAX.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DAX in Power BI - Functions you need to be Aware Of!! - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Check out the importance of DAX in Power BI, DAX formula syntax, calculation types, its functions, and process to create measure formula using DAX.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-07-27T03:45:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-18T03:49:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-in-Power-BI-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"802\" \/>\n\t<meta property=\"og:image:height\" content=\"420\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DAX in Power BI - Functions you need to be Aware Of!! - DataFlair","description":"Check out the importance of DAX in Power BI, DAX formula syntax, calculation types, its functions, and process to create measure formula using DAX.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/","og_locale":"en_US","og_type":"article","og_title":"DAX in Power BI - Functions you need to be Aware Of!! - DataFlair","og_description":"Check out the importance of DAX in Power BI, DAX formula syntax, calculation types, its functions, and process to create measure formula using DAX.","og_url":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-07-27T03:45:32+00:00","article_modified_time":"2019-06-18T03:49:38+00:00","og_image":[{"width":802,"height":420,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-in-Power-BI-1.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"DAX in Power BI &#8211; Functions you need to be Aware Of!!","datePublished":"2018-07-27T03:45:32+00:00","dateModified":"2019-06-18T03:49:38+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/"},"wordCount":2314,"commentCount":3,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-in-Power-BI-1.jpg","keywords":["DAX Basics in Power BI","Power BI DAX Basics","Power Bi Dax Functions","Power Bi DAX Syntax"],"articleSection":["Power BI Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/","url":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/","name":"DAX in Power BI - Functions you need to be Aware Of!! - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-in-Power-BI-1.jpg","datePublished":"2018-07-27T03:45:32+00:00","dateModified":"2019-06-18T03:49:38+00:00","description":"Check out the importance of DAX in Power BI, DAX formula syntax, calculation types, its functions, and process to create measure formula using DAX.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-in-Power-BI-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/07\/DAX-in-Power-BI-1.jpg","width":802,"height":420,"caption":"DAX in Power BI"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/power-bi-dax-basics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Power BI Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/power-bi\/"},{"@type":"ListItem","position":3,"name":"DAX in Power BI &#8211; Functions you need to be Aware Of!!"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/19677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=19677"}],"version-history":[{"count":8,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/19677\/revisions"}],"predecessor-version":[{"id":59734,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/19677\/revisions\/59734"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/59722"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=19677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=19677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=19677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}