Forum Discussion

GilbertQ's avatar
GilbertQ
Icon for Super User rankSuper User
9 years ago
Solved

Get LastNonBlank Value across all rows

Hi there I wonder if someone could help me out.   If you can refer to the image below.   What I want is the Value from the ZCALC Rowz (30/06/2019) to be repeated. As is shown the the exampl...
  • GilbertQ's avatar
    GilbertQ
    9 years ago

    Hi tringuyenminh92 I managed to figure it out

     

    Here is the code that I used to return to me the values selected from the Fiscal Year Slicer

     

    ZCALC ROwz2 =
    CALCULATE (
        CALCULATE ( COUNTROWS ( 'TYOY' )ALLSELECTED ( 'Date'[Fiscal Year] ) ),
        ALLSELECTED ( 'Date' )
    )