Forum Discussion

maurcoll's avatar
maurcoll
Helper IV
2 months ago
Solved

Help with filtering blank rows when there is a second value

Hi   I have a matrix visual for employees and training completed. I am trying to filter out where the employee does not have the training. The issue i have is that all of the training is contained...
  • johnt75's avatar
    2 months ago

    I would restructure the data so that you have 3 tables :

    • Employee, contains a row for every employee
    • Training, contains a row for every training course
    • Bridge, contains a row for every combination of employee & training course where the employee has completed the training

    Create one-to-many relationships from Employee -> Bridge and Training Course -> Bridge.

    You could then create a visual showing Employee[Name], create a slicer for training course and put a filter on the table / matrix to only show rows where Bridge[Employee] is blank.

  • Ashish_Mathur's avatar
    2 months ago

    Hi,

    Write this measure and drag it to the Filter o n this visual group in the Filter pane.  Apply a condition of equals 1

    Measure = 1*(countblank(Data[Training])=countrows(Data))

    Hope this helps.