Hi
I do not understand what is the point of adding a calculated field to a table in the data model because adding a table in the data model is basically adding the whole excel table, so why the calculated field not added to the excel table before adding the table in the data model. I do not see the point? I see why I need to add a calculated field to a pivot table, that is ok but do not the benfit in the data model. Could you please help me understand this:
"The formulas in calculated columns are much like the formulas you create in Excel. However, you cannot create different formulas for different rows in a table. Rather, the DAX formula is automatically applied to the entire column.
When a column contains a formula, the value is computed for each row. The results are calculated for the column as soon as you enter the formula. Column values are then recalculated as necessary, such as when the underlying data is refreshed."
I do not understand what is the point of adding a calculated field to a table in the data model because adding a table in the data model is basically adding the whole excel table, so why the calculated field not added to the excel table before adding the table in the data model. I do not see the point? I see why I need to add a calculated field to a pivot table, that is ok but do not the benfit in the data model. Could you please help me understand this:
"The formulas in calculated columns are much like the formulas you create in Excel. However, you cannot create different formulas for different rows in a table. Rather, the DAX formula is automatically applied to the entire column.
When a column contains a formula, the value is computed for each row. The results are calculated for the column as soon as you enter the formula. Column values are then recalculated as necessary, such as when the underlying data is refreshed."
Calculated Columns in Power Pivot - Microsoft Support
A calculated column gives you the ability to add new data to a table in your Power Pivot Data Model. Instead of pasting or importing values into the column, you create a Data Analysis Expressions (DAX)formula that defines the column values.
support.microsoft.com