Forum Discussion
Power BI Graphs Data That Doesn't Exist!
Good morning everyone and thanks in advance for your help!
If you have a look at the example I have attatched, there are two columns, one is time (in number format as it wouldnt plot when it was in dd:mm:yy hh:mm:ss format) -and the other is just a variable representing depth. When I put these into power BI, I create a line graph and I put Time as the Axis and Variable 2 as the Value. The resulting plot makes no sense to me. It gives values ranging from 9800 all the way to 20,000. This is incorrect as you can clearly see on the data that the values range from around 9800-10,000 ! I have no idea why it is doing this, but I cant seem to sort it out and it is doing the same thing for other variables too so big problem for me!! If you have any advice I'd love to hear it! thanks so much everyone!
5 Replies
- Riny_van_EekelenPlatinum Contributor
Rory123908 Loaded your data into PBI and noticed that you have duplicate time stamps. The chart sums the values, so every now and then the sum for a particular time equals approx. 19,800. That why the automatic axis values range from 10K to 20K.
Remove the duplicates and the chart will look like this:
The system doesn't allow me to upload a pbix file here. Otherwise, you could have had a look into what I did.
- Rory123908Copper ContributorHi Riny_van_Eekelen ! Thanks a lot for that! Would have struggled figuring that out myself! Ill go teach myself how to remove duplicates now, thanks so much! All the best.
- Riny_van_EekelenPlatinum Contributor
Rory123908 You can use Transform Data in PBI. Select the first column and choose to Remove Duplicates. It opens the PowerQuery editor, similar to the one in Excel.