Forum Discussion

UditJ's avatar
UditJ
Helper III
2 years ago
Solved

To Create Custom Column in Query editor with defined logic

Need to create a custom column in query editor with below logic: Filter out multiple measures based on condition - if [Dimesnion] Contains "A" OR "B" OR "C" for time period FEB 28 2022 to Sep 29 2...
  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi UditJ ,

    Based on your problem, I do some changes on my .pbix file. If you want to delete the False Custom, I think you can write a mesure and use the DAX code below.

    Measure = IF(SELECTEDVALUE('Table'[Custom])="True",1)

     

     

     

    Best Regards

    Yilong Zhou

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