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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Value field displays wrong value

I am trying to query data from a database in Power BI but my graph is wrong. The picture below shows historical values for a tag over the past 30 days graphed.

 

XYZ1233_0-1639491154926.png

 

When I retrieve this data with Power BI and plot a line graph I get this.

XYZ1233_1-1639491299274.png

 

Clearly the shape is much different and the values are spiking to 80,000 rather than 4000. I suspect it has to do with me summarising the Value field as a sum but I don't know what I need to change it to. Can someone advise. Thanks

1 ACCEPTED SOLUTION

See attached image on how you can change it

 

image.jpg

View solution in original post

4 REPLIES 4
themistoklis
Community Champion
Community Champion

@Anonymous 

 

I think in the PowerBI graph the data are aggregated on a day level  (e.g. sum of value of day 5 across all month) whereas in the top graph is on date-time level

 

Make sure you select date from the datetime field and not Day

 

from the drop down arrow icon next to datetime ... select date and not date hierarchy

Anonymous
Not applicable

@themistoklis 

Thanks, that could be it. Do you know how to change it? The data type says DateTime in Power Bi

See attached image on how you can change it

 

image.jpg

Anonymous
Not applicable

Thank you! That fixed it.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.