Forum Discussion
LastNonBlank Measure not working
- Anonymous2 years ago
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 TeamIf 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
- ArchStanton2 years agoPower Participant
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
- Anonymous2 years agoNot applicable
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 TeamIf 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
- ArchStanton2 years agoPower Participant
This works perfectly - many thanks for this!