It’s observed that in your data model, you’ve created “Many-to-Many Relationships” as well as have also activated the “Bi-Directional Relationships” between the tables. Below is the screenshot of the data model which you’ve created provided for the reference -
In order to achieve the results in this scenario, I’ve de-activated the “Many-to-Many Relationship” between the tables - “HRIS_SECURITY_VIEW_BUSINESS_UNIT_FINAL (3)” and “HRIS_TD_COMP_WAGE_DETAIL_NEWOLD” and have turned-off the “Bi-Directional Relationship” between the tables - “HRIS_TD_COMP_WAGE_DETAIL_NEWOLD” and “Wage Inflation DATE”. Below is the screenshot of the revised data model provided for the reference -
I’m also attaching the working of the PBIX file for the reference purposes.
Hoping you find this useful and meets your requirements that you’ve been looking for.
Important Note: In case, you want to learn more about the data modelling aspects. Please go through the course of “Data Transformations and Modelling” which is already available onto our Enterprise DNA education portal.
I did resolve it with MAXX by trial and error but I think your solution is much better as I was doing bi-directional and many to many relationships. Thank you so much!
This was my attempt…
Display Value =
VAR _month =
MAXX ( ALLSELECTED('Wage Inflation DATE'),'Wage Inflation DATE'[YearMonth])
RETURN
_month