Forum Discussion
BlastS
7 years agoHelper I
DAX Count Help
BANA A P
| 0 | 284 | 0.5 |
| 1 | 0 | 0 |
| 0 | 1 | 0 |
| 1 | 0 | 0 |
How can i make a count of the number of BANA where the BANA is 1 when Column A last row > 100
The output of that should count 1 the ( second row since column A was >100 on last row)
Solution:
BANA = IF([BANA]=1 && MAXX(FILTER('Table',[Index]=EARLIER([Index])-1),[A])=.5,1,0)