Forum Discussion
DAX formula
- Anonymous3 years ago
Hi jimpatel ,
Please try this code to create a calculated column in Table 1. When you use this code, please make sure the data type of [True/False] is text.
True/False = VAR _List = CALCULATETABLE ( VALUES ( 'Table 2'[True/False] ), FILTER ( 'Table 2', 'Table 2'[Part number] = EARLIER ( 'Table 1'[Part number] ) ) ) RETURN IF ( "TRUE" IN _List, "TRUE", "FALSE" )Result is as below.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi
Thanks for looking at my post.
I am using below DAX code what should i do please to get information from same table and from same column please. That is i have attached an example "Modified status" which will look for material in the same column (it will be more than 2 in some cases) and if the match found then if "Status" is "Yes" for any of the matched part then "Modified status" will be yes for that part number please.
Any idea pleasE? got stuck with this for ages : (