Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

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%
image.png
 
1 ACCEPTED SOLUTION
v-zhenbw-msft
Community Support
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.

View solution in original post

3 REPLIES 3
v-zhenbw-msft
Community Support
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.

amitchandak
Super User
Super User

@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
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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.