A simple request: I'm trying to name the columns in the SUMMARIZE function but I can't figure out how. For example, I'd simply like to rename "Payroll[Employee Name]" to something a little more user friendly. Any suggestions? It's rather easy to do with ADDCOLUMNS...
Thanks,
Simon
Code:
EVALUATE
ADDCOLUMNS (
SUMMARIZE (
FILTER ( Payroll, Payroll[Employee Code] = "12345" ),
Payroll[Employee Name],
Payroll[Employee Code],
'Level Table'[Employee Level Name],
Payroll[Employee DOB],
'Date Table'[Transaction Date],
'Date Table'[Period]
),
"Hours", [Measure Hours],
"Hourly Wage", [Measure Hourly Wage],
"Total Income", [Measure Total Income]
)
ORDER BY Payroll[Transaction Date]
Thanks,
Simon