Forum Discussion
Anonymous
6 years agoNot applicable
Timesheet
Hello, I want to create a timesheet template in pbi. I have a list of employees down the left side and need the columns to be days of the week (Sunday-Saturday) how can this be done
v-lid-msft
6 years agoCommunity Support
Hi Anonymous ,
We can create a calculated column "WeekDayNumber in your calenday table:
WeekDayNumber = WEEKNUM([Date])
Then we can create a calculated table and cretae connection between two "WeekDayNumber" column as the column field of matrix visual
Column Header Table =
DATATABLE (
"WeekDayNumber", INTEGER,
"WeekDayName", STRING,
{
{ 1, "Sunday" },
{ 2, "Monday" },
{ 3, "Tuesday" },
{ 4, "Wednesday" },
{ 5, "Thursday" },
{ 6, "Friday" },
{ 7, "Saturday" }
}
)
If it doesn't meet your requirement, kindly share your sample data and expected result to me if you don't have any Confidential Information. Please upload your files to One Drive and share the link here.
Best regards,