Where does the last value and blank date come from? - pivot-table

I have encountered a strange thing in my power pivot table and chart. I have the EUR/SEK in a table and chart and as you can see here
the last value is above 70 and the date is blank-blank-blank. I have obviously checked my table and there is no blank row or value above 10.3.
Do anyone know why I have this strange value and blank date?
Best regards

Okay so this one was stupid simple. I thought I had checked everything that could go wrong but I hadn't. So the problem was all the time that my dynamic calendar hadn't update correctly and so there was values for like 7 days or so that didn't have matching dates in the calendar. These 7 or so values accumulated under blank and therefore gave me the strange chart.

Related

Empty cells in SSRS giving random values

I am building a report grouped by week horizontal and grouped by month vertical but some month start in the middle of the week and in this case SSRS gets random values and put them on the days that don't have dates. how can I get rid of this?
Example here
the way the report is build should be changed to be able to see the correct data. i did change it from table to a matrix and put an if statement to fill the cells that has no dates.
Thanks

Excel IF Function Query - Dates

I am looking for some help regarding an IF function on an Excel document.
Basically if the Date Listed cell is dated over 1 month ago (eg: Date Listed 6-Aug but today is 6-Sep) and the Date Sold cell is blank, then I would like the Mark Down cell to say 'MARK DOWN', which at the moment it does but it is only 10-Aug today.
If the Date Listed cell and the Date Sold cell both contain dates I would like the Mark Down cell to say 'OK'.
So far I have this written:
=IF(AND(DATE(YEAR(G2),MONTH(G2),DAY(G2)), ISBLANK(H2)),"MARK DOWN","OK")
I know I'm not far off but I need help sorting out the last parts..
Bonus if you can help me add a highlighted cell formatting to it :)!
[EXAMPLE IMAGE]
I think this should work
IF(AND((TODAY()-g2)>31,ISBLANK(H2)),"Mark Down","OK")
Apply conditional formatting on all the cells in MARK DOWN column which are equal to OK.
After that write this simple formula to check the condition.
=IF(AND(ISNUMBER(G2),ISNUMBER(H2)),"OK","MARK DOWN")
Update: if you use EDATE function everything gets simplified as this function takes care of exact day differences
so the whole solution is :
=IF(AND(EDATE((G2),1)=EDATE(NOW(),0),ISBLANK(H2)),"MarkDown","")
Let me know if you have any question on how this formula works.

SQL Server 2012 - date not sort as expected

Alright, I searched each and every option upon SQL related to sorting a date column. Most of them say that it's not correctly sort because the column is of type nvarchar. This is not my case.
My table and query:
.
Injection aside, as you can see in the image, I want the column that I selected in the image to be in correct order - the 7th column (I am sorry for the native column name); however, it is not. To be more precise, that 1660 row is not sorted correctly, while all other rows stay in the line.
I tried ascending order, and as you may guess it, it's that 1660 row that stays in the last regardless of other row's value.
I also tried sorting by other columns with similar type - 6th, 8th and 9th, and they're working fine.
The 1660 row doesn't have any special column, nor its date is any special. It just between lots of other rows, between June and July.
These time columns are inserted using vb.net through a DatetimePicker value.
So can someone shed me some light into this case, as to why, how, or what is the cause of this disorder... It's driving me nuts.
Your 1660 row has a date in the year 2106, not the year 2016. This is obvious from looking at the image. It is not a formatting error or a sorting error; it is a typo in your actual data.

Excel - find value in row which is not an error or blank

Someone posted a question about doing this for a column but I don't understand the answer well enough to tweak it to work for data in a row. Can someone help me understand how this formula works and how to apply it to data in rows? I want to display the non error value in a new column, not the number of the row or column.
Thanks!
Try this formula
=LOOKUP(2,1/(A1:A100<>""),A1:A100)
extend range as required. In Excel 2007 and later you can use the whole column
Original question here: Excel - find last value in a column which is not an error or blank
=LOOKUP(2, 1/(A1:G1<>""),A1:G1)
Just change the range in both places.

Reporting Services Chart - Hard Coded Series

I am developing an SSRS 2008 report which contains a number of simple charts. On the x axis I have the 12 months of this year - Jan 2009 thru December 2009. On the Y is an integer value ranging from 0 to 100 in increments of 10. I am plotting the number of times an issue occurred per month. So January could have a value of 10, February 30, etc. etc.
I would like to have a horizontal line/series that is constant and shows the yearly average for 2008. So, say the average was 30 issues per month in 2008, I would like for that line to be shown in my chart. Basically, I want to draw a straight line across the chart for that value... I can see how to add more complex series, but this seemingly simple task is getting the better of me.
Doe anyone have any idea how this could be accomplished?
Thanks in advance,
Jason
[Update] To add some further details, I am already pulling the average for each row in my dataset and have it set up as its own series. However, rather than plotting a line, this approach plots individual points for each month. While this is close to what I want, I need to join the dots so to speak. The chart is of the Error Bar (Range) variety.
Can you use a column / line hybrid chart? If so then add a constant or dynamic target value to the chart:
Design the chart.
On the Data tab in the Chart Properties dialog box, add a new data value (for example, Target).
Set the target value (see the example in Figure 9 on link this uses a constant target value of 100000 across all categories but you can do it dynamically too). Make sure to use an expression starting with = (equals). Otherwise, the value is not interpreted as a numeric value.
See the example on the MS charts page at http://msdn.microsoft.com/en-us/library/aa964128.aspx
Add the yearly average to each row in the underlying the query. Add data series on just that value.
I managed to solve this issue myself.
As I mentioned, I was using an Error Bar graph. Right-clicking on the series of interest, I was able to change the graph type for that particular series - essentially leaving me with a chart with multiple graphs in it...particularly simple if you know where to look - which i did not! Thanks everyone for your suggestions.

Resources