Forum Discussion

dougford99's avatar
dougford99
Frequent Visitor
8 years ago
Solved

Simple table visualization using data from four related tables

GOAL Using a table visualization, display a list of classes recommended to for an employee based upon their job title, exc;luding the classes they've already attended.   The visualization will be ...
  • v-ljerr-msft's avatar
    8 years ago

    Hi dougford99,

    I've managed to create a list of class recommendations, but I can't figure out how to exclude a class if the employee has already attended it.

    If I understand you correctly, you should be able to use the formula below to create new measure, then use it to apply a visual level filter(measure is 1) on Table visual of class recommendations list you have managed to create, to exclude a class if the employee has already attended it. :smileyhappy:

    measure =
    VAR currentClass =
        MAX ( dmClassRecommendations[Clas] )
    RETURN
        IF (
            CONTAINS (
                VALUES ( ftClassRegistration[Title] ),
                ftClassRegistration[Title], currentClass
            ),
            1,
            0
        )
    

     

    Regards