Forum Discussion

bhmiller89's avatar
bhmiller89
Helper V
9 years ago
Solved

Supplemental Spreadsheet Use

I have an Excel file that is a list of Job Numbers considered "Projects"   I have a relationships created between the Job Numer of the Excel spreadsheet and a table from SQL called "JobSummary."  ...
  • v-caliao-msft's avatar
    9 years ago

    bhmiller89,

     

    Based on your dscription, you need to check if the current JobNumber exist on another table or not, right?

     

    If that is the case, you can use lookupvalue function to check if this value exist on that table or not.

    IsProject = IF(ISBLANK(LOOKUPVALUE(ProjectJobs[JobNumber ],ProjectJobs[JobNumber ],JobSummary[JobNumber ])),"Project","Not Project")

     

    Reference
    https://msdn.microsoft.com/en-us/library/gg492170.aspx?f=255&MSPPError=-2147217396

     

    Regards,

    Charlie Liao