Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

3 months

 the formula for M.SLA% is probably only calculating on one month 
So if i can apply the 3 month filter to that,i will only get one month of data back
So my first M.SLA% calculation is doing the SLA performance results, the second is applying a 3 month filter as above
i am attaching my pbix file as well can some help me with a solution.all the data should be shown in line graph for rae SLA% AND M.SLA%
 
  • Hi Anonymous ,

     

    Sorry for that we cannot see the pbix you attached.

     

    Maybe you can delete the relationship between date table and Query1 table and try this measure again.

    If it doesn’t meet your requirement, could you please upload your files to OneDrive For Business and share the link here.

     

    Please don't contain any Confidential Information or Real data in your reply.

     

    Best regards,

     

    Community Support Team _ zhenbw

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

3 Replies

  • Anonymous , if you use any rolling formula the one you used or like these

     

    example

    Rolling 3 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date],ENDOFMONTH(Sales[Sales Date]),-3,MONTH))
    Rolling 3 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX(Sales[Sales Date]),-3,MONTH))
    Rolling 3 = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],MAX('Date'[Date ]),-3,MONTH))

     

    You will end up getting 1 row. Better to use a relative date slicer, if that can fit in.

     

    Or refer to this approach -https://www.youtube.com/watch?v=duMSovyosXE

    • Anonymous's avatar
      Anonymous
      Not applicable

      hii amit i am trying to use the relative slicer but for my data it is not enabling to do so for sla% i need to do it

      can you plz look in to my data and provide me a solution

  • v-zhenbw-msft's avatar
    v-zhenbw-msft
    Community Support

    Hi Anonymous ,

     

    Sorry for that we cannot see the pbix you attached.

     

    Maybe you can delete the relationship between date table and Query1 table and try this measure again.

    If it doesn’t meet your requirement, could you please upload your files to OneDrive For Business and share the link here.

     

    Please don't contain any Confidential Information or Real data in your reply.

     

    Best regards,

     

    Community Support Team _ zhenbw

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