Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

The report allows comprehensive on SAIT Staffing. It is in workspace ws_SABOG. The pipeline contains ws_SABOG [Development], ws_SABOG [Test], ws_SABOG. Datasets can be edited in ws_SABOG [Development]. Tedi Tehrani is the author. The report Workspace_Demographics.pbix is separated from the datasets dataset_StaffingALL_BT.pbix

dataset_StaffingALL_BT

The dataset is a basically star schema using Empjob Fact Tableas the fact table. Snowflake extensions apply to a Employee and empstartpoistion dimensions. The dataset users parameters that are set as rules in the pipeline to connect to dev, test, prod dataflows. As of this publishing the dataset contains 13 tables.

Dataset Model Diagram

Table

Source (dataflow, entity, workspace)

dataflow details

CareerTracks_Titlecodes_3

CrareerTracks,CareerTracks_Titlecodes_3 , ws_SABOG

Empjob Fact table

Empjob, empjob, ws_SABOG

Employee

df_UCPath, UCPath Emp Demographic",

ws_payroll

Fiscal Calendar

Calendars, Julian Fiscal, ws_public data

IDMSecurityBTStaffing

IDMSecurtiy, IDMSecurtiytBTStaffing, ws_SABOG

Order of YOS

manually entered table

Remote_Hybrid

HybridRemoteOnSiteGoogle, Remote_Hybrid, ws_SABOG [Development]

RLS Manager

? Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText(

Salary Diff Percentile

Salary Diff Percentile = GENERATESERIES(0, 1, 0.01)

Sorting Annual Salary Category

manually entered table

Time in Position

? Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText(

UCPath Position

Datawarehouse, UCPath Position, ws_SABOG

Dataflow Sources

CareerTracks_Titlecodes_3

\\sa8\Data\PowerBI\BT_Org\CareerTracks_Titlecodes_3.csv

Empjob Fact table

warehouse.ucsb.edu\polaris,1660,waredept

SELECT *
FROM dbo.emp_job
WHERE job_dept_code in ('SAIS', 'CITO', 'IBRM', 'INFO', 'INFR', 'IPLA', 'ISEC', 'ITEC', 'ITSS', 'TELE','CCTR','IDCL')

Employee

warehouse.ucsb.edu\polaris,1660,waredept

;WITH cteservice AS
(
SELECT employee_id, employee_name,uc_curr_bal, uc_curr_bal/12 AS YearsofService,primary_job_dept_desc,
ROW_NUMBER() OVER(PARTITION BY employee_id ORDER BY ASofdate DESC) AS rownbr
FROM
dbo.emp_accrual_balance_ucp

where acc_desc = 'Employment Service Months'
)
SELECT *
FROM dbo.emp_person -- UCPath Emp Demographic x
LEFT JOIN
(
SELECT * from cteservice
WHERE cteservice.rownbr = 1
) xxx
ON xxx.employee_id = emp_person.employee_id
UNION
SELECT
0,'0','Vacant',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1

Fiscal Calendar

isis.sql.sa.ucsb.edu,2433,isis

SELECT [YYYYMMDD_ID]
,[Date]
,[Year]
,[YrNN]
,[YYYYMM]
,[Month_No]
,[Day]
,[Week_Day_No]
,[Week_Day_Name]
,[Week_Day_Name2]
,[Week_Day_Name3]
,[Julian_Day]
,[Julian_Week]
,[Week_No]
,[Quarter_No]
,[Last_Day_Of_Month]
,[Last_Date_Of_Month]
,[Fiscal_Month_No]
,[Fiscal_Quarter_No]
,[Fiscal_Quarter]
,[Fiscal_Year_Name]
,[Month]
,[Fiscal_Year]
,[FiscalYearFromCurrent]
,[FiscalYearLabel]
FROM [dbo].[vw_pbiJulianFiscal]

IDMSecurityBTStaffing

  • No labels