Morning;
I'm trying to use the Sunburst Visual to show the last week and the week before that's sales for the section from which they were sold as well as the day of the week they were sold in.
When I use the column value it appears; but shows all of the data.
When I use my past week measure as the Value; it doesn't show anything and I'm not sure why?
P1WNetSales = VAR CurrentWeekNum = MAX ( 'ExtendedCalendar'[WeekNum] ) - 1 VAR CurrentYear = MAX ( 'ExtendedCalendar'[Year] ) RETURN ( CALCULATE ( SUM ( 'itemdetailsdogfood$'[Net Sales] ), FILTER ( ALL ( 'ExtendedCalendar' ), ExtendedCalendar[Year] = CurrentYear&& 'ExtendedCalendar'[WeekNum] = CurrentWeekNum - 0 ) ) )
Do I need to make it a column instead? I've tried copying the code and nothing appears in the column.