Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MC filters #752

Closed
2 of 21 tasks
JoneUE opened this issue Dec 7, 2023 · 6 comments
Closed
2 of 21 tasks

MC filters #752

JoneUE opened this issue Dec 7, 2023 · 6 comments
Assignees
Labels
data Some application in need of new API, more data, new views etc. PBI Power BI

Comments

@JoneUE
Copy link
Contributor

JoneUE commented Dec 7, 2023

View: Custom_MechanicalCompletionPackage_v2
FilterName - FAMname

  • Facility - Facility
  • Project - Project
  • MC Remark - Remark
  • MC Status - MechanicalCompletionStatus
  • MC Location - Location
  • MC Phase - MechanicalCompletionPhase
  • MC Discipline - DisciplineDescription
  • MC Responsible - Responsible
  • Handover Status - Need to be created
  • M-01 Contractor Final Punch - M01_Actual
  • M-02 Punch Status accepted - M02_Actual
  • M-03 RFC - M03_Actual
  • Comm Phase - CommissioningPhase
  • Comm System - System
  • Comm SubSystem - SubSystem
  • Comm Priority 1 - Priority1
  • Comm Priority 2 - Priority2
  • Comm Priority 3 - Priority3
  • Comm Identifier - Identifier

  • Added to Workspace
  • Added to Analytics
@JoneUE JoneUE added the data Some application in need of new API, more data, new views etc. label Dec 7, 2023
@JoneUE JoneUE added the PBI Power BI label Dec 7, 2023
@JoneUE
Copy link
Contributor Author

JoneUE commented Dec 7, 2023

SQL for HandoverStatus

,CASE 
WHEN m8.ActualDate is not null THEN 'RFOC Rejected'
    WHEN m8.ActualDate is not null THEN 'RFOC Accepted'
    WHEN m7.ActualDate is not null THEN 'RFOC Sent'
    WHEN c6.IsRejected=1 then 'TAC Rejected'
    WHEN c6.IsAccepted=1 then 'TAC Accepted'
    WHEN c6.IsShipped=1 then 'TAC Sent'
    WHEN m4.ActualDate is not null THEN 'RFCC Accepted'
    WHEN m3.ActualDate is not null THEN 'RFCC Sent'
    WHEN m2.ActualDate is not null then 'Punch Status Accepted'
    WHEN m1.ActualDate is not null THEN 'Contractor Final Punch'
    ELSE 'OS'
    END AS HandoverStatus

@espenkalle
Copy link
Contributor

Dont think we need Handover Status to be created?
Its under CommissioningStatus
image

@espenkalle
Copy link
Contributor

Remark blir nok ikke et filter.
Kan legges inn i søk?
name MC Remark.txt

@JoneUE
Copy link
Contributor Author

JoneUE commented Dec 8, 2023

That's okay. But is the Commissioning Status calculated in the backend now?

@espenkalle
Copy link
Contributor

Its in the view
image

@aman-riaz
Copy link
Contributor

Filters added to analytics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data Some application in need of new API, more data, new views etc. PBI Power BI
Projects
None yet
Development

No branches or pull requests

3 participants