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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.