ModulesPower BIActivity log columns

Activity log columns

Every column of activity_log_data_v1, in the order Power BI shows them.

Turn on Diaries & activities to read this table. Money columns are blank unless the connection’s Prices switch is on.

Rows come in report order within each date range. Empty values are blank. Lacroo_Row_Key is unique in one refresh; it is not a record id.

Refresh in full. Leave Incremental refresh off so every change, including to older records, comes through.

#ColumnPower BI nameTypeCore typeDiffers from Core
1Activity DescriptionActivity_DescriptionTexttext
2Actual CostActual_CostDecimal numbernumber
3Actual QtyActual_QtyDecimal numbernumber
4Cost CodeCost_CodeTexttext
5Cost Rate VarianceCost_Rate_VarianceDecimal numbernumber
6Diary DateDiary_DateTexttextDD/MM/YYYY text, as Core’s function gives it.
7Program CodeProgram_CodeTexttext
8ProjectProjectTexttext
9Project CodeProject_CodeTexttextThe project’s live stage contract numbers, joined with commas, as the Workforce Log prints them.
10Project Company IDProject_Company_IDTexttextThe project’s stage company ids, joined with commas, as the Workforce Log prints them.
11Qty Variance (A-T)Qty_Variance_A_TDecimal numbernumber
12Sub CodeSub_CodeTexttext
13SupervisorSupervisorTexttext
14Target Cost RateTarget_Cost_RateDecimal numbernumber
15Target Cost Rate UnitTarget_Cost_Rate_UnitTexttext
16Target QtyTarget_QtyDecimal numbernumber
17Target Qty UnitTarget_Qty_UnitTexttext
18—Report_DateDate—
19—Lacroo_Project_IDText—
20—Lacroo_Row_KeyText—

Keep your Core column names

Add this step in Power Query’s Advanced Editor after the source step, so reports built on the Core names keep working.

Renamed = Table.RenameColumns(Source, {
    {"Activity_Description", "Activity Description"},
    {"Actual_Cost", "Actual Cost"},
    {"Actual_Qty", "Actual Qty"},
    {"Cost_Code", "Cost Code"},
    {"Cost_Rate_Variance", "Cost Rate Variance"},
    {"Diary_Date", "Diary Date"},
    {"Program_Code", "Program Code"},
    {"Project_Code", "Project Code"},
    {"Project_Company_ID", "Project Company ID"},
    {"Qty_Variance_A_T", "Qty Variance (A-T)"},
    {"Sub_Code", "Sub Code"},
    {"Target_Cost_Rate", "Target Cost Rate"},
    {"Target_Cost_Rate_Unit", "Target Cost Rate Unit"},
    {"Target_Qty", "Target Qty"},
    {"Target_Qty_Unit", "Target Qty Unit"}
})