Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Table not available in aggregated dataset

Hi,   I've created an aggregated dataset and on my side everything works properly, however when the end user goes on the app they see this message: Table not available. Subscriber flow 2 tab...
  • lbendlin's avatar
    lbendlin
    3 years ago

    There is no need to specify 

    FILTER(ALL('Calendar'), 'Calendar'[Dates]<=MAX('Calendar'[Dates])

    Power BI does that automatically for you.  What you will want to try is to move the MAX computation out.

     

    Sales (Other) =
    var m = MAX ( 'Calendar'[Dates] )
    return CALCULATE (
        LASTNONBLANKVALUE ( 'Calendar'[Dates], SUM ( 'Other Actuals'[RECRU] ) ),
        'Calendar'[Dates] <=  m
    )