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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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

 

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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