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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Easley06
Helper II
Helper II

Getting max values in dim_date

Hi,

 

how to get max values if my dim_date having up to 2050 

i cant get the dates in my fact table sincei i have two date columns that connected in my dim_date

active and inactive relation so i need to get the date from my dim_date

Easley06_1-1676341387221.png

 

example:

Easley06_2-1676341532022.png

max attrition%1 = CALCULATE(vw_Employee_Attrition[Attrition%],LASTDATE(DIM_Date[MonthYear]))
 
 
thankyou.
1 REPLY 1
amitchandak
Super User
Super User

@Easley06 , The information you have provided is not making the problem clear to me. Can you please explain with an example.

Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Appreciate your Kudos.


Check if these blogs or attached file can help

Power BI: HR Analytics - Employees as on Date : https://youtu.be/e6Y-l_JtCq4
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.