Forum Discussion
UditJ
2 years agoHelper III
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...
- Anonymous2 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.
UditJ
2 years agoHelper III
Instead of returning True or False , it should remove a column from the table. Any thoughts ?
Anonymous
2 years agoNot applicable
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.