Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
15 | |
10 | |
10 | |
10 | |
10 |
User | Count |
---|---|
19 | |
14 | |
13 | |
11 | |
8 |