Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.
PreviousDataDate =
IF (
NOT ISEMPTY ( Data ),
VAR EarliestPeriodDate =
MIN ( 'Date'[Calendar Date] )
VAR PreviousReportingDate =
CALCULATE (
LASTNONBLANK (
'Data'[DataDate]
,[Amount]
)
,'Date'[Calendar Date] < EarliestPeriodDate
)
I don't see 12/31/2020 anywhere? Can you please explain?
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
19 | |
13 | |
7 | |
5 |