Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Hi,
I am trying to forecast growth of DB size by dates in a Line Chart. But i get an error saying the timeline is not consistent. Is there a solution to this?
Solved! Go to Solution.
Hi Ritaf1983 ,thanks for the quick reply, I'll add more.
Hi @Shravan133 ,
Regarding your problem, I think the problem occurs because the date column in your original data is not continuous.The forecast function requires consecutive dates.
You need to create a date table containing consecutive dates and merge the data from your original data table into it.
Table 2 =
ADDCOLUMNS(CALENDAR(DATE(2024,1,1),DATE(2024,12,31)),"value",
VAR _result = SUMX(FILTER('Table',[Date] = EARLIER([Date])),[Value]) RETURN IF( ISBLANK(_result),0,_result))
Best Regards,
Wenbin Zhou
Hi Ritaf1983 ,thanks for the quick reply, I'll add more.
Hi @Shravan133 ,
Regarding your problem, I think the problem occurs because the date column in your original data is not continuous.The forecast function requires consecutive dates.
You need to create a date table containing consecutive dates and merge the data from your original data table into it.
Table 2 =
ADDCOLUMNS(CALENDAR(DATE(2024,1,1),DATE(2024,12,31)),"value",
VAR _result = SUMX(FILTER('Table',[Date] = EARLIER([Date])),[Value]) RETURN IF( ISBLANK(_result),0,_result))
Best Regards,
Wenbin Zhou
Hi @Shravan133
Based on the image you’ve shared, it looks like the line chart is displaying some unexpected patterns. The zigzag pattern and sharp drops or spikes in the data suggest there might be some issues related to the data itself.
Erratic Pattern: The chart shows a zigzag pattern, which could indicate that the data includes sudden increases or decreases. This may be due to anomalies or irregularities in the data.
Negative Growth Values: There are negative values in the chart, which could suggest that the calculation of growth sometimes results in negative numbers. This might happen due to data entry issues, unexpected data points, or an actual decrease in the database size.
Review the Data for Anomalies:
Consider a Cumulative Sum:
Data Smoothing Techniques:
Investigate Outliers:
User | Count |
---|---|
84 | |
78 | |
70 | |
47 | |
42 |
User | Count |
---|---|
106 | |
50 | |
49 | |
40 | |
40 |