Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
B4
New Member

No sum in graph

Unfortunatly I can't find my solution in other discussion when it's related to making line graphs based on an imported excel table. Based on other discussion I tried to adjust the SUM to not summing up data, and also tried to change the field from nummeric to text.

The problem is the following, I have this table:

B4_1-1736412980943.png

 

In the first (red) colum I have date and time (15minute) values, in the second (blue are values on this specific time). This second data field is nummeric (green) and should not be SUMMED (pink).
When I put this data (time on horizontal axis and values on vertical axis) I get the following "strange" line graph/diagram:

B4_3-1736413420757.png

 

I did select the line diagram (blue circle). The values on the Y-axis are extremly high (so summed up, but I don't know how/why).  When zooming in I would like to see the (15minute value) in stead of totals.

Any idea how to overcome this issue?

 

Many thanks for your insights/support!

 

1 ACCEPTED SOLUTION

Yes, it is possible. You can sort your data in the Query Editor, apply a Table.Buffer step to that sort, and then add an index column. Using an external tool like Tabular Editor allows you to sort the datetime values by the index column, as the Power BI GUI does not support sorting multiple values for the same distinct datetime. For example, a datetime like Sat, 02 Dec 2023 15:30:00 can only be sorted once even if there are multiple records with the same datetime. In the GUI, it appears as a single sorted value. With Tabular Editor, you can effectively "brute force" the sorting with different index values, allowing you to display multiple rows with the same datetime when placed in a table (see image below).

danextian_0-1736432423950.png

If you're a beginner, this is overwhelming. Plus, I doubt you will like the output anyway.

danextian_1-1736432583118.png

Since the data isn’t aggregated by the distinct datetime value due to the "multiple sort value brute force" approach, the visual will attempt to connect those different points but will remain at the same datetime, resulting in a straight line. The tooltip will display information for just one of those points, giving the impression of a single datapoint which can be misleading and confusing at the same time.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

7 REPLIES 7
danextian
Super User
Super User

Hi @B4 
That is currently not possible. While you can use datetime in a category, it will be treated as date.  If you look at the generated hierarchy in your viz, there  is no separate time  element in there so even if you zoom in you won't be able to see the time thus you're seeing the aggregated value.

danextian_0-1736414828292.png

 

You can parse the time element using the query editor and add that to the hierarchy but that will disable continous axis category and make everything categorical, disabling the zoom x-axis zoom.

danextian_1-1736415003137.png

danextian_2-1736415034726.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hello @danextian , in the mean time I also try to make a seperate time column in the original xls. file. But since I'm no expert can you maybe elaborate a bit more on how you exactly parse the time element using the query editor??
If I understand correctly even with that action still it isn't a possibility to zoom horizontal?
Is there another way to make this possible?

My initial post has thee screenshot on how to parse the time element from a datetime column. In the query editor, go to Add Columns tab, select the datetime column, select the time icon and then Time only.

 

Something I forgot to mention is that you can remove the hierarchy and just keep the datetime column, if you zoom in enough the axis will start showing the time but at the minimum of one hour interval. The tooltip should show the actual datetime

danextian_1-1736426846687.png

 

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Yes, it is possible. You can sort your data in the Query Editor, apply a Table.Buffer step to that sort, and then add an index column. Using an external tool like Tabular Editor allows you to sort the datetime values by the index column, as the Power BI GUI does not support sorting multiple values for the same distinct datetime. For example, a datetime like Sat, 02 Dec 2023 15:30:00 can only be sorted once even if there are multiple records with the same datetime. In the GUI, it appears as a single sorted value. With Tabular Editor, you can effectively "brute force" the sorting with different index values, allowing you to display multiple rows with the same datetime when placed in a table (see image below).

danextian_0-1736432423950.png

If you're a beginner, this is overwhelming. Plus, I doubt you will like the output anyway.

danextian_1-1736432583118.png

Since the data isn’t aggregated by the distinct datetime value due to the "multiple sort value brute force" approach, the visual will attempt to connect those different points but will remain at the same datetime, resulting in a straight line. The tooltip will display information for just one of those points, giving the impression of a single datapoint which can be misleading and confusing at the same time.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hello @danextian , thanks for this addition with this indeed I am almost there. But It would be nice(r) if I was able to see all values while hovering over the graph. This seems impossible right now.

B4
New Member

Hello @sanalytics , that is already turned to "don't summarize" = "niet samenvatten" (in Dutch). It is in the first picture in the pink circle.

sanalytics
Super User
Super User

@B4 

 

Can you turned on Don't Summarize option. If do not want to summarize the value.

sanalytics_0-1736414968158.png

Regards

sanalytics

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.