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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
hb0135
Helper III
Helper III

How to get todays date on in filter for card

Hello,
I am having data shown below in that daily i put some value datewise and i ahve installed gateways to to auto refresh the power Bi report but  to get todays date value in card i need manually add the todays date and then publish the report can we di this automatically or with help DAX measures.

hb0135_0-1712198994959.png

hb0135_1-1712199033007.png

Thanks

 

BR

hb0135

 

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @hb0135 
Yes, if I understood you correctly, you can filter the card by the "last date" data.
You can use DAX function last nonblank value:

value_ = LASTNONBLANKVALUE('Table'[Date],sum('Table'[value]))
Ritaf1983_0-1712200844133.png

pbix is attached

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

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @hb0135 
Yes, if I understood you correctly, you can filter the card by the "last date" data.
You can use DAX function last nonblank value:

value_ = LASTNONBLANKVALUE('Table'[Date],sum('Table'[value]))
Ritaf1983_0-1712200844133.png

pbix is attached

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

Hello,

Thanks for help

Happy to help 🙂

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

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors