Forum Discussion
Data Modeling with Timesheets
- 9 years ago
Hi @warrenpoh,
You can create a table using the DAX below.
Summrize = SUMMARIZE(STALL,STALL[StaffName])
Then add some calculated column like:Hours Worked TOTAL YTD = CALCULATE(SUM(STALL[HoursWorked]),FILTER(ALL(STALL),STALL[StaffName]='Summrize'[StaffName]))Invoiced TOTAL YTD = CALCULATE(SUM(STALL[InvoicedValue]),FILTER(ALL(STALL),STALL[StaffName]='Summrize'[StaffName]))
If this is not what you want, please provide us more information, if possible provide us some cample data and screenshots, so that we can make further analysis.
Regards,
Charlie Liao
Hi @warrenpoh,
You can create a table using the DAX below.
Summrize = SUMMARIZE(STALL,STALL[StaffName])
Then add some calculated column like:Hours Worked TOTAL YTD = CALCULATE(SUM(STALL[HoursWorked]),FILTER(ALL(STALL),STALL[StaffName]='Summrize'[StaffName]))Invoiced TOTAL YTD = CALCULATE(SUM(STALL[InvoicedValue]),FILTER(ALL(STALL),STALL[StaffName]='Summrize'[StaffName]))
If this is not what you want, please provide us more information, if possible provide us some cample data and screenshots, so that we can make further analysis.
Regards,
Charlie Liao
Thanks Charlie