When we have some calculated column in database for reports, which is best way to calculated it's value in case of SSRS report development.
If I am duplicating this question then sorry for that, but I didn't got proper answer while googling.
A computed column is a virtual column that is not physically stored in the table, unless the column is marked PERSISTED. A computed column expression can use data from other columns to calculate a value for the column to which it belongs.
The aggregate function SUM is ideal for computing the sum of a column's values. This function is used in a SELECT statement and takes the name of the column whose values you want to sum. If you do not specify any other columns in the SELECT statement, then the sum will be calculated for all records in the table.
Calculated columns can only be created by using the model designer in Data View. In the model designer, click the DimDate table (tab).
Basically, it depends.
I'm probably missing some, but the point is I don't believe that there is single right answer to the question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With