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-12-2017 02:15 AM - last edited 07-13-2017 03:43 AM
Hi,
This Quick Measure allows to get a value filtered on Last Date.
It works like "Filtered Value", but it is more powerful because it updates automatically to get the last value that is not blank
(Last Date is a Variable).
Formula is :
VarLastMonthFilteredValue = CALCULATE(SUM('FactsTable'[MyValue]) ; LASTDATE('FactsTable'[Month]))
*If my Last Value is a percentage, for instance a ratio, let's replace SUM by AVERAGE
CALCULATE(AVERAGE('FactsTable'[MyValue]) ; LASTDATE('FactsTable'[Month]))
In my File, we have the Example with VarLastMonthMonthlyActiveUsers, VarLastMonthTotalDownloads, VarLastMonthCrashRatio. (it's a dashboard for mobile Apps)
VarLastMonthMonthlyActiveUsers= CALCULATE(SUM('Core apps perf FRANCE'[Monthly Active Users]) ; LASTDATE('Core apps perf FRANCE'[Month]))
eyJrIjoiNTE1YjNlYWEtODNjNC00NjFiLWFkYWQtOWRiMDVmMGRiYTYyIiwidCI6ImI5ZmVjNjhjLWM5MmQtNDYxZS05YTk3LTNkMDNhMGYxOGI4MiIsImMiOjN9