Forum Discussion

bmurf's avatar
bmurf
Frequent Visitor
4 years ago
Solved

Create Dynamic Table from Slicer

Hello All! I'm trying to output a list of names from a dynamic slicer.    I've attached Sample PBIX  file with 2 simple tables: "students" & "grades" joined by an [id] field. I've created a slice...
  • Jihwan_Kim's avatar
    4 years ago

    Hi,

    Please check the below picture and the attached pbix file.

    One of ways to create solution is, in my opinion, to create a measure like below instead of putting in the [age] column itself to the visualization.

     

     

     

    Age measure: = 
    IF (
        HASONEVALUE ( students[name] ),
        MAXX (
            FILTER ( grades, [_Total Students] <> BLANK () ),
            RELATED ( students[age] )
        )
    )