Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi,
I have tried to re-open a message that I previously accepted as a solution, it turns out the code doesn't work for all 3 Teams in the pbix file:
I have tried using this measure that correctly returns the last non blank value for Team A = 2, B, = 6- but C is 36?
The LastNonBlank Value for Team C is 12 not 36.
Solved! Go to Solution.
Hi @ArchStanton ,
Please try:
Last Value =
IF(ISBLANK(SELECTEDVALUE('Sheet1'[Area])),
"Please select an area",
CALCULATE(
LASTNONBLANK(Sheet1[KPI], 1),
ALLSELECTED('Sheet1'[Area])
)
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Thanks but that doesn't work, I need to apply a Filter on Area as I have many different Team names.
This is for a Card Visual
Hi @ArchStanton ,
Please try:
Last Value =
IF(ISBLANK(SELECTEDVALUE('Sheet1'[Area])),
"Please select an area",
CALCULATE(
LASTNONBLANK(Sheet1[KPI], 1),
ALLSELECTED('Sheet1'[Area])
)
)
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
This works perfectly - many thanks for this!
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |