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
Sweetie
New Member

DAX LastNonBlankValue

Hi, 

 

If we have 5 years of data for total month, quarter and year

May I know how to calculate last blank value

For each month

For each quarter

For each year

Using DAX.

 

1 ACCEPTED SOLUTION
ERD
Community Champion
Community Champion

Hi @Sweetie ,

It's always better to show some input and desired result.

As for yor request, please refer to this article: https://www.sqlbi.com/articles/semi-additive-measures-in-dax/ 

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

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

Check out my latest demo report in the data story gallery.

Stand with Ukraine!


Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/

Thank you!

View solution in original post

2 REPLIES 2
ERD
Community Champion
Community Champion

Hi @Sweetie ,

It's always better to show some input and desired result.

As for yor request, please refer to this article: https://www.sqlbi.com/articles/semi-additive-measures-in-dax/ 

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

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

Check out my latest demo report in the data story gallery.

Stand with Ukraine!


Here are official ways you can support Ukraine financially (accounts with multiple currencies):
1) Support the Armed Forces of Ukraine: https://bank.gov.ua/ua/about/support-the-armed-forces
2) Come Back Alive foundation: https://www.comebackalive.in.ua/

Thank you!

Hi @ERD 

 

Yes, you are right with some input and desired output could have given much clarity.

Thanks for your time in providing me the right URL to go through.

Was very useful especially LASTDATE concept.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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