Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and a 50 percent discount on exams.
Get startedEarn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have tried a few similar approaches and have had no luck with any of them.
Does anyone know what I am doing wrong or have a better approach?
Column = VAR CurrentRowReportDate = 'TableA'[Report Date] VAR CurrentRowClientCode = 'TableA'[Client Code] VAR PriorMonthReportDate = EOMONTH(CurrentRowReportDate, -1) VAR PriorMonthData = CALCULATE( COUNTROWS('TableA'), 'TableA'[Report Date] = PriorMonthReportDate, 'TableA'[Client Code] = CurrentRowClientCode ) VAR PriorMonthStartDate = CALCULATE( MAX('TableA'[Start Date]), 'TableA'[Report Date] = PriorMonthReportDate, 'TableA'[Client Code] = CurrentRowClientCode ) RETURN IF( PriorMonthData = 0, "N", IF( PriorMonthStartDate > PriorMonthReportDate, "N", "Y" ) )
Solved! Go to Solution.
I have came up with this solution incase and thought I would share in case it helps someone. Probably not the best approach but should do it.
I have came up with this solution incase and thought I would share in case it helps someone. Probably not the best approach but should do it.
Hi @sdcha2
We are very happy to hear that you have solved the problem, you can mark your method as a solution so that people with the same problem can find it faster, and please feel free to let me know if you have any other questions.
Best Regards,
Yulia Xu