Forum Discussion
Handling fall time change in continuous Line Chart (also, how to format the X axis?)
- Anonymous5 months ago
Hi mjc123 ,
There are potentially two workarounds in your scenario, You can address this by creating a new calculated column that explicitly handles the duplicate hour scenario instead of letting Power BI aggregate it implicitly. The idea is to build a column that detects when the same Ept timestamp appears more than once (like the repeated 01:00 AM during DST change) and slightly differentiates or tags those rows so they are treated as unique points on the axis. For example, you can use DAX to count occurrences of each timestamp and append a sequence or offset to the duplicate instances, which is potentially being used by you currently if I am not wrong. Another workaround is, you can handle this at the measure level by creating a DAX measure that intentionally ignores one of the duplicate timestamps so the visual doesn’t aggregate both values. The idea is to rank rows for each repeated Ept value (using a stable column like Utc), and then return the value only for the first occurrence while blanking out the rest. This way, the visual plots a single point for that hour without summing duplicates in Power BI.
I hope this information helps. Please do let us know if you have any further queries.
Thank you
Thanks for the response - unfortunately, other than adding "Utc" and "Ept" to the tooltips, what you sent is exactly what I already had.
Working off the example you provided, I want that same chart, but I want the X-Axis labels to start at 12:00 AM, not 4:00AM. In other words, I basically want them to show what you added as "EPT Label", but in continuous mode so that not every single label is displayed
Hi mjc123,
Please see the attached file, is that what is required? As the data in this file is limited and utc date is starting from 4:00 a.m onwards so the x axis is startigng from 4 am, I've replaced X axis with ept and it's showing correct dates. also x axis is already continuous.