I would like a measure or a column that shows the the max date in my date table (called 'Time') but where another critera is fulfilled ie in the example below, where the financial period status is 0.
I'm currently using the below formula, however this is not filtering the FinancialPeriodStatus by 0 so in the above example I would want the top row, last column to say 31-Dec-16 not 31-Dec-25
Latest Reporting Date = calculate(max('TIME'[Date]),allexcept('TIME','TIME'[FinancialPeriodStatus]))
Can anyone help please?
Go to Solution.
Maybe you can try this.Date = CALCULATE(MAX('TIME'[Date]) ; 'TIME'[FinancialPeriodStatus]="0")
For the overall latest reporting date try
Max Latest Reporting Date =
Perfect, thank you! I thought the solution would be a simple one but not that simple!
Thanks for your quick response! I'm not sure I could get this to work based on your example. I think the issue is with the ALL('TIME'); 'TIME'[FinancialPeriodStatus]=0 ) part.
The previous answer from Birdjo has worked, however thank you very much for taking the time to respond.
Apologies for bringing this topic up again, however although I can get the measure of this date I would really like a column with the date instead. Does anyone know how I could do this?
Engage and empower students with Power BI!
Continue your learning in our online communities.
Travel to Melbourne and network with thousands of peers!
Check out what's new in the Power BI Community!