Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
07-13-2020 05:01 AM - last edited 07-13-2020 05:39 AM
Firstnonblankvalue and Lastnonblankvalue release some time back. But they remained underutilized. They are very powerful in terms of finding the first and last values.
Say, For the customer, we wanted to know First Sales Dates, Sales Amount of first sales date. Firstnonblankvalue makes it easy.
Or, For the customer, we wanted to know the Last Sales Dates, Sales Amount of Last sales date. Lastnonblankvalue makes it easy.
You can use row context for correct grand total or more complex calculations. Or use one inside other for more such cases.
For First date and Last date you can also use Firstnonblank and Lastnonblank, but for sales you have to use Firstnonblankvalue and Lastnonblankvalue
eyJrIjoiNDgxYzVhOGUtMzdlZi00MDkzLWI4NjAtZjAwY2IwM2QwYTdkIiwidCI6ImVhOGJkMWZkLWFjMzQtNGFlMi1iNDIxLTZjZmEyZmNmZjI0MyJ9