Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect interpretation of column's name when dealing with SSAS solutions #420

Closed
Seddryck opened this issue Oct 31, 2018 · 2 comments
Closed

Comments

@Seddryck
Copy link
Owner

When using column's name from an SSAS solution, the name is misinterpreted by NBi.

Example of settings in the test used by me:

    <assert>
      <equalTo>
        <column name="[Measures].[dim]" role="key" type="text" />
        <column name="[Measures].[Vat]" role="value" type="numeric" />

Error message:

NBi.NUnit.Runtime.CustomStackTraceErrorException : 
**You've defined some columns named 
'Measures].[dim'
, 'Measures].[Vat'
 as keys or values but there is no column with these names in the resultset. 
When using comparison by columns' name, you must ensure that all columns defined as keys and values are effectively available in the result-set.**

It cuts the starting and closing braces and breaks at the dot.

@Seddryck Seddryck added this to the v1.19 milestone Oct 31, 2018
@Seddryck
Copy link
Owner Author

Workaround: "double them" (column name="[[Measures].[dim]]").

@Seddryck
Copy link
Owner Author

Fix available at https://ci.appveyor.com/project/Seddryck/nbi/builds/19959423 or nuget 1.19.0-beta0102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant