cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

Last Non Null Value by Month

I have a table like the below. What I want to be able to do is return the last 'Total' value per month, some rows may be blank.

 

DateUKSATotal
29/03/2020

44

1266
30/03/2020 55
31/03/2020   
01/04/202071926
02/04/2020   
1 ACCEPTED SOLUTION
Responsive Resident
Responsive Resident

Hi,

 

I think your solution is here, with LASTNONBLANK :

https://exceleratorbi.com.au/lastnonblank-explained/

Have a nice day

View solution in original post

2 REPLIES 2
Responsive Resident
Responsive Resident

Hi,

 

I think your solution is here, with LASTNONBLANK :

https://exceleratorbi.com.au/lastnonblank-explained/

Have a nice day

View solution in original post

I'd found LASTNONBLANK already but couldn't figure out why it wasn't working.

 

Realised I'd got a number field set as TEXT!!!

 

Thanks

Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors