Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Need help in making a disconnected slicer work

Please think of a simple sales data model with appropriate facts and dimensions ( I can share a dummy model if needed).  Dimensions include a Products table, Date table, Stakeholders table, and Sale...
  • amitchandak's avatar
    amitchandak
    4 years ago

    Anonymous , all you measures to created like this or filter this in visual level filter for non blank

     

    New measure =
    var _max = maxx(allselected(whatif),whatif[value])
    var _min = maxx(allselected(whatif),whatif[value])
    return
    IF([Total sales] > _min && [Total sales] < _max, 1 , blank()  )

     

     

    example of measures needed in table

    New sales=
    var _max = maxx(allselected(whatif),whatif[value])
    var _min = maxx(allselected(whatif),whatif[value])
    return
    IF([Total sales] > _min && [Total sales] < _max, [Total sales] , blank()  )

     

     

    count of organizations

     

    New measure =
    var _max = maxx(allselected(whatif),whatif[value])
    var _min = maxx(allselected(whatif),whatif[value])
    return
    sumx(values(Table[Organization]) ,IF([Total sales] > _min && [Total sales] < _max, 1 , blank()  ))