Forum Discussion
wooand
8 years agoHelper II
Using FIRSTNONBLANK unsuccessfully.
I have data in three columns in table 'Results'. The columns are: A: Deal Reference B: Deal Time C: Deal Rate All cells contain numbers, no text. I need to identify the very first De...
- 8 years ago
HI wooand
Try this formula
Formula = VAR FirstNonBlankTradeStartTime = CALCULATE ( FIRSTNONBLANK ( ALL ( Results[Trade Start Time] ), TRUE () ) ) RETURN CALCULATE ( FIRSTNONBLANK ( Results[Dealt Rate], 1 ), FILTER ( ALL ( Results ), Results[Trade Start Time] = FirstNonBlankTradeStartTime ) )
wooand
8 years agoHelper II
Nicely done Zubair. That was way beyond me, so thanks.
Zubair_Muhammad
8 years agoCommunity Champion
I wrote this Article few days ago
http://www.excelnaccess.com/using-firstnonblank-lastnonblank-in-dax/
- wooand8 years agoHelper II
Clearly you are the expert!