Custom Attribute INCLUDES_ANY changes result when referred to | Community
Skip to main content

Custom Attribute INCLUDES_ANY changes result when referred to

  • October 14, 2022
  • 0 replies
  • 0 views

I have a custom attribute called "Merged", defined as INCLUDES_ANY([Ticket tags], "closed_by_merge").  

I set up another attribute "Test" that refers to it, IF [Merged] THEN "Text" ELSE "Not" ENDIF which should return "Text" when [Merged] is true but I have found this *changes* the result of [Merged] to false, and then returns "Not".

I've tested this further.  When the formula for "Test" is simply [Merged] then it returns true, but if I change it to [Merged]=true then it changes [Merged] to false, and then returns false itself

I've never seen this behaviour in years of working with Tableau and DAX.  It's totally bizarre, I can't wrap my head around it.  [Merged] is independent from my second attribute [Test] that refers to it. 

What is going on?