question

Anushka92 avatar image
Anushka92 asked

The MDX Function Failed Because Current Coordinate is Empty

Hi All, I am facing this problem when I tried to refresh my excel reports after hourly cube process. This is ocassional. One thing I like to mention that my cube is partially processed on the hourly basis( process update dimensions then process partitions and measure group). The problem gets resolved when we do the full process of cube manually. ![alt text][1] Anyone have idea whats happening there. Help is much appreciated. Regards, Anushka [1]: /storage/temp/3609-capture1.png
sql-server-2008mdxmsbi
capture1.png (26.6 KiB)
6 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Oleg avatar image Oleg commented ·
Sounds like there are some calculated measures in the cube which need the data from the measure group which did not get processed but should have been processed based on the actual dimensions' changes. For example, there might be some hybrid calculations, such as give me the actual sales for the periods which already have history (in the past) and fill in the forecasts for all future periods which don't have the actual sales yet. This might explain why the problem is occasional, it depends on the dimension changes so it might be irrelevant to some reports/slicers combinations. If the report can afford filters without multiple selected values so that double-clicking one of the values' cells in Excel opens up a new sheet showing the underlying factual data, then the data in that sheet may be examined versus the T-SQL script against the same fact table in the relational database, just to see whether results are the same or not and why.
0 Likes 0 ·
Anushka92 avatar image Anushka92 commented ·
Thanks Oleg, But I am confused as if it related to the dimensional change then is it possible that it will fail all the reports at the same time with same error. As I am unable to execute any of my reports at that time. Anushka.
0 Likes 0 ·
Oleg avatar image Oleg commented ·
@Anushka92 When this happens, do you see that there are empty cells in the values area where you expect some values to appear? If so then you can try to write the equivalent T-SQL query against the underlying database and compare it with the results of the MDX. In case if you don't have the [OLAP PivotTable Extensions][1], consider installing it. This add-on to Excel is very useful because it lets you see the MDX generated by Excel (among many other useful features it has). Taking the generated by Excel MDX to SSMS and examining it there can help to identify the problems with reports. What can really help with identifying the root cause of this problem is trying to ping @Pavel Pawlowski and @Scot Hauder to this thread. [1]: https://olappivottableextend.codeplex.com/wikipage?title=Excel%202013
0 Likes 0 ·
Anushka92 avatar image Anushka92 commented ·
Hi this time when I faced this problem, I have taken the backup of cube and the restarted the SSAS service. after restarting service the error disappear. then I tried to restore the backup on Dev server and tried running the reports against it and the reports are working fine this time without any mdx error. This means there is no problem with Cube structure rather it is a bug in SSAS. can you please confirm this and also what to do when faced next time. Anushka
0 Likes 0 ·
Anushka92 avatar image Anushka92 commented ·
@Pavel Pawlowski, @Scot Hauder please could you guys have a look at the thread conversation and help me in determining the root cause for this. Anushka
0 Likes 0 ·
Show more comments

1 Answer

·
bajpai.prakash avatar image
bajpai.prakash answered
@Anushka92 I am facing same issue can you please share how you resolved the issue? Thanks, Prakash
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.