Forum Discussion

PowerBIkalaimo's avatar
7 years ago
Solved

DAX Measure SelectedValue in Values, how to use inactive relationship filter

Hi, I have a Fact Table of incidents, and a date table.  An Incident has an Occur Date Key, an Assigned Date Key, an Employee who entered the Incident into the system, and an Employee to whom the inc...
  • PowerBIkalaimo's avatar
    PowerBIkalaimo
    6 years ago

    I ended up creating a calculated table:


    Overdue_Incident_Table = SELECTCOLUMNS(FILTER(Incident_Table, Incident_Table[overdue_flag] = "Y"), "Case Number", Incident_Table[Incident_ID], "Assigned Date Key", Incident_Table[DateKey_Assign], "Assigned To", Incident_Table[Employee_Assigned])

     

    Then I linked the "Assigned Date Key" from this table to my DateList table, and the "Assigned To" to my Personnel table and it works for what I need.

    I'd still like to know if there's an easier/better way to accomplish this without resorting to creating a whole other table...?