Forum Discussion
DAX Calculating on Wrong Rows - Not Recognizing Join Relationship Properly
matsahiro , You need to have a common account table and join these two tables with that. and analyze with the account numbers from the common table.
You can create a measure like
New_Date_Indicator = IF(max('Current'[Statement Date])=max(Previous[Previous Statement Date]),"0","1")
amitchandak I went ahead and created the common account table and added indexes to the other two tables. I joined on the indexes with ID in account table. Here's what the relationship looks like.
The relationships looks to be right until I add in the indicator.
- matsahiro5 years ago
Helper II
- amitchandak5 years ago
Super User
matsahiro , Make these 1-1 Join as 1-M (account is 1), single direction and try
- matsahiro5 years ago
Helper II
Unfortunately when I establish the relationships like that, the visual breaks even without the indicator included in the visual.