Hello everyone,
I have been battling Visual Studio 2017 for about a week now trying to get a percentage (Created_by_tablet / Kept Appt) which I am trying to get to function in a chart. I have come to a conclusion that the percentage may be easier to work with if the percentage starts with my SQL query (just an assumption) (and I got tired of battling with Visual Studio). I will admit: I am probably at a 50% proficiency with SQL, but I am learning. For this query I am (eventually) trying to get a percentage for the Month, the day, and the location. The SSRS will have drill down for month, date, and location.
It's also worth noting that the inner "From" query works on it's own. I get the Msg 8117, level 16, state 1, line 2: Operand data type varchar is invalid for sum operator.
Any ideas/help would be greatly appreciated.
SELECT t.Month,...