Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
OlapOffice
Helper II
Helper II

Last Reporting Date

I am trying to ensure that the "Last Reported Date" always shows the max date for the last LASTNONBLANK. In the example below you will note this should be 9/30/2020 but I have an account with 12/31/2020. How do I force all to be 9/30/2020? Any ideas would be welcome. I have included the DAX used below the image.

 

Thanks in advance.

 

OlapOffice_0-1626124518874.png

PreviousDataDate =
IF (
NOT ISEMPTY ( Data ),
VAR EarliestPeriodDate =
MIN ( 'Date'[Calendar Date] )
VAR PreviousReportingDate =
CALCULATE (
LASTNONBLANK (
'Data'[DataDate]
,[Amount]
)
,'Date'[Calendar Date] < EarliestPeriodDate
)

1 REPLY 1
lbendlin
Super User
Super User

I don't see 12/31/2020 anywhere? Can you please explain?

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.