Forum Discussion
DAX formula
- 3 years ago
Hi jimpatel
Start from The Definitive Guide to DAX
Hi,
Sorry for reopening the post.
What do i need to change in the formula if i need to do the following condition please?
Note: All columns in the same table. The solution i am looking for is "Status 2" column please
Issue is, this is from same table and all i need to compare is if "Part number" same , if yes look for "Status" and if any of the status is "True" for those part numbers then "Status 2" expected to be "true" if not "False"
Thanks a lot
Sorry I did not understand. What do you mean by "if part number same"?
- jimpatel3 years ago
Post Patron
Thanks for your reply.
In the above example, 123 have one "True" in the "Status" and therefore "Status 2" is true for 123.
23 does not have any true at all, therefore status 2 will be false for that
43 have two true and status 2 will be true for thatHope this helps
Note: Part numbers wont be in the ascending or descending orders and it will be clustered around the rows.
Thanks a lot
- tamerj13 years ago
Community Champion
Please try
Trur/False = IF ( ISEMPTY ( CALCULATETABLE ( 'Table', ALLEXCEPT ( 'Table', 'Table'[Part Number] ), Table2[True/False] = "TRUE" ) ), "FALSE", "TRUE" )- jimpatel3 years ago
Post Patron
Thanks for your reply,
But i getting "Status 2" same as "Status" column for above formula
Like this