Forum Discussion

Jeanxyz's avatar
Jeanxyz
Power Participant
5 years ago
Solved

switch()

I'm trying to write a switch function with multiple conditions in the <value> part (selectedvalue(Fact_Forecast[Version])="LE02" && maxdate>=date([CurrentYear],5,1)), it looks this won't work in a Sw...
  • v-xiaotang's avatar
    5 years ago

    Hi Jeanxyz 

    I‘ve create a sample and the measure with similar logic works OK.

    if problem sitll persists, could you share your PBI file after removing sensitive information?

     

     

     

    Best Regards,

    Community Support Team _ Tang

    If this post helps, please consider Accept it as the solution to help the other members find it more quickly.