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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Super User
Super User

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors