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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Not applicable

Date Hierarchy/Dax Function

Hi Everyone,
I have a date column in table A called Transaction Date, when I'm working on Table B ( I have already stated the relationship between both tables by customer number), and I try to write a DAX function regarding this column, I don't get [Transaction Date].[Year] or similar. 
I have checked the query editor and the column is a date column, so no issue in that. 
Also the transaction date is connected to the calendar table. 
Any thoughts? 
Thank you

Super User
Super User

@Anonymous , try

year(related(Table1[Transaction Date]))




year(maxx(relatedtable(Table1),Table1[Transaction Date]) )


refer 4 ways to copy data from one table to another


Helpful resources

Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City


Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors