Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

Help with disconnected slicer required

Hi guys. I'm relatively new to disconnected slicers, but I get how they work and have been able to build a timeframe slicer that does what I want it to do. However, whilst all of my values show up...
  • SqlJason's avatar
    9 years ago

    It is hard to comment without seeing the model and data, but for now, can you try using an iterator? Something like the formula below

     

    TargetCostMeasure =
    SUMX (
    VALUES ( Dates[Month] ),
    IF (
    AND (
    CALCULATE ( MAX ( Dates[RMI] ) ) >= DateSlicer[SlicerMinValue],
    CALCULATE ( MAX ( Dates[RMI] ) ) <= [SlicerMaxValue]
    ),
    CALCULATE ( SUM ( Dates[Target Net Costs] ) ),
    BLANK ()
    )
    )

     

    (and the reason is that there is no context for the measure in that visual, like Greg_Deckler said.).