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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.