Forum Discussion

matrin's avatar
matrin
New Member
6 years ago
Solved

Last column value

Hi dear community,   I am new on Power BI Desktop and I need some help!   I've got a metric named "number of people" that can't be cumulated.   I want to return the last value of the column "nu...
  • V-lianl-msft's avatar
    6 years ago

    Hi matrin ,

     

    If you want to get the last value of a column, you can try the following DAX.

    Measure = CALCULATE(LASTNONBLANK('Table'[Column2],1),ALL('Table'))

    If the problem persists,could you please share sample data or sample .pbix?

     

    Best Regards,
    Liang
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.