The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I have a matrix visual displaying item numbers as rows and dates as columns.
The dates are from autocalendar() so that I capture every day.
The source data does not have transactions every day.
Where there are no measure results, the matrix is blank.
All calculations are working as intended.
What I need is to show the last calculated value if, for the day, there were no results.
Matrix:
Measure:
Solved! Go to Solution.
@jsauber , Prefer date table, Example to show last available value
calculate(lastnonblankvalue(Table[Date], [Meausre]), filter(all(Date), Date[Date] <= Max(date[Date]) ) )
DAX functions: lastnonblankvalue , firstnonblankvalue: https://www.youtube.com/watch?v=cN8AO3_vmlY&t=26940s
@jsauber , Prefer date table, Example to show last available value
calculate(lastnonblankvalue(Table[Date], [Meausre]), filter(all(Date), Date[Date] <= Max(date[Date]) ) )
DAX functions: lastnonblankvalue , firstnonblankvalue: https://www.youtube.com/watch?v=cN8AO3_vmlY&t=26940s
Thank you so much. This worked. The video was also very useful, thank you for including it.
User | Count |
---|---|
65 | |
62 | |
60 | |
54 | |
30 |
User | Count |
---|---|
180 | |
88 | |
72 | |
48 | |
46 |