Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago
Solved

Convert Tableau expression to dax

Hi Team i need convert  below tableau expression to dax, Basically this will give rolling average based on month selected in slicer  so can you please help me to fix this.

WINDOW_AVG([Forecast MAPEQ REQ Selected Period ACC_Max_restriction],-11,0)

  • Anonymous's avatar
    Anonymous
    2 years ago

    Hi danextian , i tried this already but my requirement is I have a slicer when user select an month bar chart will show Rolling average for until that month .

  • I thought you wanted just the rolling average but show the  past x months as well. Slicer selection from a related or the same table will filter  the rows to just what are selected. You will need to use a disconnected table for that. Please see attached sample pbix.

     

5 Replies