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
JMacDonnell
Regular Visitor

Latest Date Shows Blank

Hi, I am a little new to the world of power bi so sorry in advance if this is an easy one. I currently have this table, the case reference 11686917 contains 2 rows for last idbd date. 

JMacDonnell_0-1683567519731.png

I want to just show the most recent date so in the visualization I set Last idbd date to latest but it just displays blank not 2023-03-09

JMacDonnell_1-1683567643214.png

 

Any help on this would be greatly appreciated, if you need me to provide more info as well let me know

thanks 

Jay

 

1 ACCEPTED SOLUTION
v-rzhou-msft
Community Support
Community Support

Hi @JMacDonnell ,

 

I suggest you to try ALLEXCEPT() function in your code.

Last idbd date = 
CALCULATE(MAX('Table'[IDBD Date]),ALLEXCEPT('Table','Table'[Case Reference]))

Result is as below.

vrzhoumsft_0-1683875698446.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
v-rzhou-msft
Community Support
Community Support

Hi @JMacDonnell ,

 

I suggest you to try ALLEXCEPT() function in your code.

Last idbd date = 
CALCULATE(MAX('Table'[IDBD Date]),ALLEXCEPT('Table','Table'[Case Reference]))

Result is as below.

vrzhoumsft_0-1683875698446.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@JMacDonnell , Try a measure like

 

maxx(filter(table, not(isblank([last IDBD date])) ), table[last IDBD date])

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.