Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I am a member of the community.
I have a measure that calculates the exponential increase in amount when the present value is increased by 5% in the future. It works okay when I visualise it using a line chart, but it fails when I slice the data using a date, giving me blank value.
The file attached is a sample from @amitchandak.
Could someone please assist me with this? Any help would be greatly appreciated.
Solved! Go to Solution.
@Anonymous , Change allselected to all to go beyond the selected time to get values
measure =
var _max = maxx(all(Data), Data[Date])
var _amt = calculate(lastnonblankvalue('Date'[Date], sum(Data[Amount])), ALL())
return if(Max('Date'[Date]) <=_max, sum(Data[Amount]), _amt* power(1.05, datediff(_max, Max('Date'[Date]), Day)+1) )
@Anonymous , Change allselected to all to go beyond the selected time to get values
measure =
var _max = maxx(all(Data), Data[Date])
var _amt = calculate(lastnonblankvalue('Date'[Date], sum(Data[Amount])), ALL())
return if(Max('Date'[Date]) <=_max, sum(Data[Amount]), _amt* power(1.05, datediff(_max, Max('Date'[Date]), Day)+1) )
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |