Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Guys,
I want to show the latest row data accordingly as of the latest date and time in my BI report. I shared an attached picture. For example, I want to show WTV_TARGETQTY row value (445) accordingly the latest date&time which is 8/22/2018 7:30 AM. I set a filter latest date&time. It's work. Here is the formula for this: mAXdATE = CALCULATE(MAX(Target[WTV_DATE_TIME]), ALL(Target))
Actually, I used that formula for showing the latest row accordingly date&time but it gave a different value. I appreciate for now to everybody.
Measure = LASTNONBLANK(Target[WTV_TARGETQTY],0)
Solved! Go to Solution.
@mericok use this
value =
var maxdate = CALCULATE(MAX(Target[WTV_DATE_TIME]), ALL(Target))
return calculate(sum(Target[WTV_TARGETQTY]), FILTER(Target, Target[WTV_DATE_TIME]) = maxdate
@mericok use this
value =
var maxdate = CALCULATE(MAX(Target[WTV_DATE_TIME]), ALL(Target))
return calculate(sum(Target[WTV_TARGETQTY]), FILTER(Target, Target[WTV_DATE_TIME]) = maxdate
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
100 | |
81 | |
70 | |
62 |
User | Count |
---|---|
148 | |
116 | |
104 | |
90 | |
65 |