Forum Discussion

ashamsuzzoha's avatar
ashamsuzzoha
Advocate II
5 years ago
Solved

Line chart without aggregate values

Is there not a way to disaggregate value data on a line chart? I want to plot hourly data on a daily line chart like the chart below. So each day will have 24 plots. But I cannot use a "Do not aggregrate" option for the values, only an aggegration like "average". That would be fine if I wanted the daily average for the value but I want all the values for a single day plotted for that day. I don't want to zoom either to the hour level on the x-axis either.

 

So far the only solution I think of is to create measure to calculate the average for each hour. e.g

 

 

AvgHourly_Hour4 =
CALCULATE(
AVERAGE('Data'[Value]),
'Date'[Hour] = 4
)

 

 

(so 24 measures in total) and plotting them as series on the line chart.

 

 

3 Replies