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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
sammy02hk
Helper I
Helper I

Retrieve the Max date from slicer

Hi there,

 

I would like to retrieve the Max date from slicer.
What I want is test fix @06/12/2022, rather than 06/11/2022 for site 1001

test = CALCULATE(MAX(DATA_LIST_CUR_DateMatch[Date]),ALLSELECTED(DATA_LIST_CUR_DateMatch[Date]))

sammy02hk_0-1677742508843.png

Thank you for your help.

Cheers,
Sammy Chu

3 REPLIES 3
andhiii079845
Solution Sage
Solution Sage

Same problem ike @wdx223_Daniel . One way can be to us a separate dimTable and us the date from this table as a slicer.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




wdx223_Daniel
Super User
Super User

not really get your point.

but, if these is not data at Jun 12 for site 1001 in your fact table, your measure will never get the value of Jun 12.

@wdx223_Daniel 
I am trying to fix the var value @12/6/22 rather than 11/6/22 bypass the fact data.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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