Forum Discussion
inglexjc
Post Patron
3 years agoHave data take primary
What Logic do I need to use to show the “Intake CW – Primary” if it exists. If it doesn’t, then show the “Intake CW”. I need the data to show on one line: I currently created a table: ...
amitchandak
Super User
3 years agoinglexjc , not very clear, we create a common table and join with both tables, on join will be inactive use use relationship to activate
Intake Caseworker = DISTINCT( UNION(DISTINCT('Table'[Name - Primary Intake Caseworker]), DISTINCT('Table'[Name - Intake Caseworker])))
and if count('Table'[Name - Primary Intake Caseworker]) is not blank then it has primary in take
example
countx(filter( values('Intake Caseworker'[Name - Primary Intake Caseworker]), not(isblank(calculate(count('Table'[Name - Primary Intake Caseworker]) ))) ), [Name - Primary Intake Caseworker])