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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
dccuong
New Member

How will i write Dax max year in power bi?

I have a dax same picture

dccuong_0-1682065277692.png

I want column Year only max year is 2023, how will i write dax?

Thank

1 ACCEPTED SOLUTION
olgad
Super User
Super User

Hi, no, thats the wrong way you are plugging in max function. what are you trying to achieve?

olgad_0-1682067278940.png

or you want a measure of max year?


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

View solution in original post

4 REPLIES 4
olgad
Super User
Super User

Hi, no, thats the wrong way you are plugging in max function. what are you trying to achieve?

olgad_0-1682067278940.png

or you want a measure of max year?


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

Thank you very much

olgad
Super User
Super User

If you need the column, then max('Calendar'[Year])


DID I ANSWER YOUR QUESTION? PLEASE MARK MY POST AS A SOLUTION! APPRECIATE YOUR KUDO/LIKE!
PROUD TO BE A SUPER USER!
Best Stories, Interesting Cases: PowerBI Storytime Newsletter
Linkedin Profile: Linkedin
YouTube Channel: PowerBI Storytime

dccuong_0-1682066516969.png

Error. Hix

 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors