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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
ADSL
Post Prodigy
Post Prodigy

Show Only the Last Data Updated

Dear BI Community Team,

 

I have a sales target table that contain data from Jan'23 till Aug'23 as the screenshot below.

 

2023-10-19_08-39-33.png

 

So I have applied this measure to get the last data updated = FORMAT(MAX(Sales[Month]), "mmm yyyy") then result is showing on "Dec 2023" that actually last data available is on "Aug 2023".

 

2023-10-19_11-26-34.png

 

Any suggestion/advise to fix this issue?

 

Sample link - https://drive.google.com/drive/folders/1V2BPZtg7obFYI2dBQlT8rEIsYVy5wTGt?usp=sharing 

 

Thanks and Regards,

1 ACCEPTED SOLUTION
Uzi2019
Super User
Super User

Hi @ADSL 
I have checked yoy sample file your data. Your data is upto Dec 2023 in your date range.

Uzi2019_0-1697690477125.png

You have applied visual filter condition where sales>0
That why blank months have filtered out.
Please try the below measure:

Last Date Updated = CALCULATE(MAX('Calendar'[Date]),FILTER('Sales Target','Sales Target'[Amt]>0))
 

Uzi2019_1-1697690909087.png

If I answered your question please give kudos and accept it as a solution!
Thanks

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

3 REPLIES 3
ADSL
Post Prodigy
Post Prodigy

Hi @Uzi2019 & @Ritaf1983 ,

 

Thank you for helpful feedback and getting the same result.

 

Best Regards,

Ritaf1983
Super User
Super User

Hi @ADSL 

You can apply to this card the same filter that is on the graph.
This will fix the issue 

Ritaf1983_0-1697691056755.png

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Uzi2019
Super User
Super User

Hi @ADSL 
I have checked yoy sample file your data. Your data is upto Dec 2023 in your date range.

Uzi2019_0-1697690477125.png

You have applied visual filter condition where sales>0
That why blank months have filtered out.
Please try the below measure:

Last Date Updated = CALCULATE(MAX('Calendar'[Date]),FILTER('Sales Target','Sales Target'[Amt]>0))
 

Uzi2019_1-1697690909087.png

If I answered your question please give kudos and accept it as a solution!
Thanks

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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