Sep 09 2019 10:48 AM
Hello,
I am pulling SQL values into excel and the values associated with dates and times will not plot. There are roughly 10,000 data points and the 'values' column comes in as 'general' designated formatting. I changed it to number but still no data is registering in the graph.
Thank you for any suggestions to help get past this!
Sep 09 2019 02:45 PM - edited Sep 09 2019 02:47 PM
Hello @dpvk8,
First, you can take a screenshot with the built-in Windows tools. Every computer has the "Snipping Tool". Hit the Windows button and start typing "Snipping tool" and it will come up.
In the pivot table, the number values must be in the "Values" area, not the "Axis" (or "Rows") area of the pivot table. Pivot charts need the numbers in the Values area.
So, drag the "Value" field from the Axis to the Values area. If it shows as "Count of", right-click and change the calculation options to "Sum". If that does not work, your source data may still contain text values as well as numbers and you need to clean the
Sep 09 2019 03:47 PM
Thank you for helping me.
When I move over the value field to "VALUES" and change it to sum all my data points change to 0.0000.
Sep 09 2019 08:24 PM
@dpvk8 Can you post a small data sample and upload as an Excel file? click the paper clip icon below the reply box.
Sep 10 2019 12:27 PM
@Ingeborg Hawighorst I have attached one tab of this worksheet.
Sep 10 2019 04:22 PM
@dpvk8 In your source data, the values are stored as text. You need to convert them to real numbers. If the data comes from SQL, you may want to ensure the SQL query uses the correct data type.
If the data in SQL cannot be converted to numbers, you can use Power Query instead of a direct SQL query to get the same data and clean it up in the Power Query editor.
Oct 02 2019 11:21 AM
Oct 02 2019 12:43 PM
@dpvk8 Yes. You can use Power Query to pull the data from SQL and change the data type in Power Query. It's a lot more powerful than the old style SQL query connection.
If you need a quick Once-Only conversion from text to numbers, you can do this: