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
Anonymous
Not applicable

Displaying MAX of Column when Filtering Date

Hi, 

 

Is there a way to display the Max value of a column on a dashboard when there exists a Year filter?

 

DATE_OPENEDTTC
4/8/2020 0:000
4/7/2020 0:000
4/7/2020 0:000
4/7/2020 0:000
4/4/2020 0:004
4/4/2020 0:005
4/6/2020 0:000
4/2/2020 0:000
4/2/2020 0:004
4/1/2020 0:008
4/3/2020 0:000
4/6/2020 0:000

 

For example, in the dataset above, if the year 2020 was selected on my Chicklet filter, I would want the Card output to say "8"

 

Please let me know if this question does not make sense

 

Thank you!
Sarah

1 ACCEPTED SOLUTION
az38
Community Champion
Community Champion

@Anonymous 

smth like

= CALCULATE(MAX('Table'[TTC]), ALLEXCEPT(Table, Table[DATE_OPENED].[Year]))

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

View solution in original post

3 REPLIES 3
az38
Community Champion
Community Champion

Hi @Anonymous 

in verycommon case just

= CALCULATE(MAX('Table'[TTC]))

will give desired result


do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn
Anonymous
Not applicable

@az38 , This gives the Max of the whole column, but I want it to display the Max of multiple years... so for example if the Max is 8 in 2020, I want all 2020 dates to display "8" but if the max is 13 in 2019, I would want it to display "13"

 

thank you!
Sarah

az38
Community Champion
Community Champion

@Anonymous 

smth like

= CALCULATE(MAX('Table'[TTC]), ALLEXCEPT(Table, Table[DATE_OPENED].[Year]))

do not hesitate to give a kudo to useful posts and mark solutions as solution
LinkedIn

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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!

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.

Top Solution Authors