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.
Join us for an in-depth look at the new Power BI features and capabilities at the free Microsoft Business Applications Launch Event.
User | Count |
---|---|
450 | |
147 | |
123 | |
53 | |
52 |
User | Count |
---|---|
446 | |
129 | |
116 | |
78 | |
71 |