Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

The True/False expression does not specify a column. Each True/False expression used as a table

Hi..I am trying to figure out why this doesn't work.  I'm trying to create a measure that will show actual + forecast ONLY for the current year of the selected Month-End Date filter.  I have a TTM me...
  • Wilson_'s avatar
    2 years ago

    Hi atowriss99,

     

    SELECTEDVALUE returns a singular value, which is not compatible as a parameter of KEEPFILTERS. You're probably looking for something like KEEPFILTERS ( 'Date'[Year] = _Year ) or something.


    ----------------------------------
    If this post helps, please consider accepting it as the solution to help other members find it quickly. Also, don't forget to hit that thumbs up and subscribe! (Oh, uh, wrong platform?)

  • Anonymous's avatar
    Anonymous
    2 years ago

    I finally figured it out!  I used this:

    Full Year C&M Actuals =
    Calculate([C&M Costs-Actuals],Filter(All('Date'),'Date'[Year]=Year(SELECTEDVALUE('Date'[End of Month]))),USERELATIONSHIP('Date'[Date],'Disconnect Date'[Date]))