Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 216047

Help with disconnected slicer required

$
0
0

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 correctly in tables and charts, showing month-by-month figures for the selected timeframe, I cannot get the measure to produce a total. The Card metric just returns a blank.PBI_Disconnected_Slicer_Error.PNG

 

 Any help would be greatly appreciated!

 

I'm using two tables - Dates (with all my dates and Target Costs) and DateSlicer (my disconnected slicer table). The Dates table has a Relative Month Index. DateSlicer contains a 'MinValue' column, showing the earliest RMI that I need to pull in, and a 'MaxValue' column, showing the latest RMI value. I have created the following slicer measures:

 

SlicerMinValue = MAX(DateSlicer[MinValue])

SlicerMaxValue = MAX(DateSlicer[MaxValue])

 

I have then created a measure to check whether the values in the RMI column fall between the Min and Max value from the slicer. All of the Target Cost entries that fall between the two values should then be pulled out and summed, using the following formula:

 

TargetCostMeasure = IF(AND(MAX(Dates[RMI])>=DateSlicer[SlicerMinValue],MAX(Dates[RMI])<=[SlicerMaxValue]), sum(Dates[Target Net Costs]), BLANK())

 

The table looks like it should do when I adjust the slicer, so it's clearly pulling out the right values, but it's just not summing them. Any idea what I'm doing wrong??


Viewing all articles
Browse latest Browse all 216047

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>