Reply
ovonel
Post Prodigy
Post Prodigy

How to create max date measure for displaying in report?

I am trying to do this measure in SSAS Power BI, to display the “Latest data refresh” on a report:

 

select max(d2.DateName)

from FactActions f

join DimActionType d on d.K_ActionType = f.K_ ActionType

join DimDate d2 on d2.K_Date = f.K_Date

where d.Product = 'xyz'

 

 

I am unable to achieve it in DAX, how can I do it?

 

1 ACCEPTED SOLUTION
v-mengzhu-msft
Community Support
Community Support

Hi @ovonel ,

 

If you need to show the latest data refresh date, it is better to use power query to do it. As shown in the figure below:

vmengzhumsft_0-1667971703681.png

For detailed creation steps you can refer to this official document, which documents the complete instruction process.

Add last refresh date to a Power BI report - Azure DevOps | Microsoft Learn

 

Best regards,

Community Support Team Selina zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

View solution in original post

1 REPLY 1
v-mengzhu-msft
Community Support
Community Support

Hi @ovonel ,

 

If you need to show the latest data refresh date, it is better to use power query to do it. As shown in the figure below:

vmengzhumsft_0-1667971703681.png

For detailed creation steps you can refer to this official document, which documents the complete instruction process.

Add last refresh date to a Power BI report - Azure DevOps | Microsoft Learn

 

Best regards,

Community Support Team Selina zhu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

avatar user

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)