Forum Discussion

roncruiser's avatar
roncruiser
Icon for Post Patron rankPost Patron
5 years ago
Solved

Convert value from measure to a Constant Value

Hi,   Not sure why this happens.   I have a variable measure that gives me the expected value, but doesn't perform as expected when plugged into the main measure. When I hardcode the same variabl...
  • parry2k's avatar
    5 years ago

    selimovd looking at the measure, it will not work because you are using only one column in ALL function and it will fail to filter Intensity column. Just my 2 cents.

  • v-kelly-msft's avatar
    v-kelly-msft
    5 years ago

    Hi  roncruiser ,

     

    Modify your variable as below:

     

    Variable1 =
    SUMX (
        FILTER (
            ALL (maintable[position],maintable[intensity]),
            maintable[position] = 1
                && maintable[intensity] = 0
        ),
        maintable[Value]
    )
    

     

     

    Best Regards,
    Kelly

    Did I answer your question? Mark my post as a solution!