Forum Discussion
DAX
- 6 years ago
Hi Anonymous ,
You could change amitchandak 's expression like below, it is calculated column
Column = if(isblank(countx(filter('Table', [Column1] = earlier([Column1]) && [Flag] ="Yes"),[Column1])),"False", "True")Or you also could try to use measure to achieve this.
Measure = if(CALCULATE(DISTINCTCOUNT('Table'[Flag]),ALLEXCEPT('Table','Table'[Column1]))>1,"True", "False")Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous , Try a new column like
new column = isblank(countx(filter(Table, [Column1] = earlier([Column1]) && [Flag] ="Yes"),[Column1]),"No","Yes")
Hi Amit, Thanks for replying. But, im getting errors on the last part of your DAX query. Could you please check once? Thanks
- dax6 years agoCommunity Support
Hi Anonymous ,
You could change amitchandak 's expression like below, it is calculated column
Column = if(isblank(countx(filter('Table', [Column1] = earlier([Column1]) && [Flag] ="Yes"),[Column1])),"False", "True")Or you also could try to use measure to achieve this.
Measure = if(CALCULATE(DISTINCTCOUNT('Table'[Flag]),ALLEXCEPT('Table','Table'[Column1]))>1,"True", "False")Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.