I'm currently trying to get the last value in each column to be displayed via the following measure:
Week Number | Sum of Daily Totals |
41 | 19438 |
42 | 11117 |
43 | 11145 |
44 | 9134 |
However when I run this formula I get the second last value 11145 and not the last 9134 which is the one I need, does anyone know how to do this?
Thanks in advance
Solved! Go to Solution.
You need to use LASTNONBLANKVALUE. Please try this measure expression in a card visual, replacing Daily for your actual table name.
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
@Niiru1 , Try like
Latest Sum of Daily Totals = LASTNONBLANKVALUE(pg14[Week Number],CALCULATE(SUM('pg14'[Sum of Daily totals])))
Proud to be a Super User!
You need to use LASTNONBLANKVALUE. Please try this measure expression in a card visual, replacing Daily for your actual table name.
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Featured Session Drive Data Culture with Power BI: Vision, Strategy & Roadmap. Register here https://myignite.microsoft.com #MSIgnite #PowerPlatform #Power BI
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
445 | |
186 | |
109 | |
60 | |
51 |
User | Count |
---|---|
436 | |
180 | |
122 | |
76 | |
74 |