Forum Discussion

eamonnde's avatar
eamonnde
Frequent Visitor
8 years ago
Solved

Count and Sum Slicer error

Hi,   I'm having issues getting a slicer to work with other tables and graphs within a report that I've created, all interactions are set up correctly.   The interactions and slicer work when the...
  • eamonnde's avatar
    eamonnde
    8 years ago

    Thanks v-ljerr-msft,

     

    Sorry for the slow response, this gave me something close to what i was looking for. I managed to solve the issues using the below equation. 

     

    Thanks again.

     

    ActiveFTE:= SUMX( 'Table 1', 'Table 1'[FTE] * IF( 

            CALCULATE( COUNTA( 'Date'[DateKey]), 

                       FILTER( 'Date',  

                               'Date'[DateKey] >= 'Table 1'[CommencedDateKey] && 'Date'[DateKey] <= 'Table 1'[EndedDateKey]) )  > 0 , 1 , 0))