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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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

July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

July Newsletter

Fabric Community Update - July 2024

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