legends
2 TopicsLine Chart Legend Rolling Average
Have this table of data in power billing with thus measure. Issue I'm running into is when I create a line chart the rolling average is calculated correctly (dates on x axis rolling on your axis). If I add [Name] to legend the names A and B show up on the legend but there remains only 1 line with the total rolling average and not two lines with rolling average for both A and B. Any help would be appreciated RollingMean6Months = VAR CurrentDate = MAX('Charge'[Date]) VAR SixMonthsAgo = EDATE(CurrentDate, -6) RETURN AVERAGEX( FILTER( ALL('Charge'), 'Charge'[Date] <= CurrentDate && 'Charge'[Date] > SixMonthsAgo ), 'Charge'[Value] )Solved1.1KViews0likes4CommentsSecondary y-axis: calculated average, how not to display those categories in primary axis & legend
I have created a measure to calculate a monthly average for years 2018 and 2019 that I would like to visualize on the secondary axis to compare to monthly counts for more current years (2020-2024) but I don't want the bars for those years (2018-2019) included in the legend/visualized on the graph. However if I filter to exclude those years, my average line also disappears. I have tried to use ALL() and REMOVEFILTERS() on both the counts and the average measures but no dice. I'm sure someone here has a better idea! Thank you!Solved661Views0likes1Comment