Forum Discussion
HusseinKhalil
Helper I
6 years agoLast non blank cell and return column header
I am trying to figure out how to allocate the last non blank cell in a row, then return the column header, this is using dax. i am dealing with a spread sheet which milestones are stored in the colum...
- 6 years ago
Try something like
Switch( true(), not(isblank([Customer Received Actual])),"Customer Received Actual", not(isblank([Customer Received forecast])),"Customer Received forecast", not(isblank([Deilvery Actual])),"Deilvery Actual", not(isblank([Deilvery Received forecast])),"Deilvery forecast", not(isblank([Shipping Actual])),"Shipping Actual", "Shipping forecast")
amitchandak
Super User
6 years agoTry something like
Switch( true(),
not(isblank([Customer Received Actual])),"Customer Received Actual",
not(isblank([Customer Received forecast])),"Customer Received forecast",
not(isblank([Deilvery Actual])),"Deilvery Actual",
not(isblank([Deilvery Received forecast])),"Deilvery forecast",
not(isblank([Shipping Actual])),"Shipping Actual",
"Shipping forecast")