cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JRHans09 Regular Visitor
Regular Visitor

Hide the last 90 days of rolling average 365 day win % on a line and stacked column chart?

How do I hide the last 90 days of the line on the chart below? The line represents the 365 day rolling average win % calculation.

 

Win % measure:

Win% for All Jobs during Period Selected := 
DIVIDE(
    [Total Jobs Won],
    [Total Jobs during the selected period],
    0
) 

Rolling 365 day average for Win % measure:

Win% Rolling 365 Days Avg := 
CALCULATE(
    [Win% for All Jobs during Period Selected],
    DATESINPERIOD(
        Dates[Date],
        LASTDATE( Dates[Date] ),
        -365,
        DAY
    )
)

 

The line on the graph below represents the 365 day rolling average. How do I adjust the measure above to hide the last 90 days of the line?

Graph Sample.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Hide the last 90 days of rolling average 365 day win % on a line and stacked column chart?

Hi @JRHans09 ,

In your scenario, you can add the IF() function to change the value of the last 90 days to blank(), then it will not display.

Best Regards,

Teige

1 REPLY 1
Community Support Team
Community Support Team

Re: Hide the last 90 days of rolling average 365 day win % on a line and stacked column chart?

Hi @JRHans09 ,

In your scenario, you can add the IF() function to change the value of the last 90 days to blank(), then it will not display.

Best Regards,

Teige

Helpful resources

Announcements
Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 39 members 1,101 guests
Please welcome our newest community members: