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

use_storage_api boolean not properly converted on deployment parameter #329

Open
CyrilJacobPart opened this issue Apr 26, 2024 · 1 comment

Comments

@CyrilJacobPart
Copy link

Hello,

Context
Trying to set Use Storage API flag on deployment as a parameter.

Use Storage Api A flag that enables using the Storage API of Google BigQuery. This option is true by default. This option can be set to false to not use the Storage API and use REST APIs instead.

Configuration
"use_storage_api": true in pbi/.pbixproj.json
use_storage_api flag boolean true is converted to True but is expected to be true in order to avoid this issue:

Issue
Expression.Error: The import True matches no exports. Did you miss a module reference?. . The exception was raised by the IDbCommand interface.

Potential Fix
shouldn't we add String.ToLowerInvariant since XML is case sensitive ?

_ => Convert.ToString(this.Value, System.Globalization.CultureInfo.InvariantCulture)

@mthierba
Copy link
Contributor

There appears to be a logic error in your M code. "The import True matches no exports." suggests that. Could you share the relevant Power query code, so I can help further?

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

No branches or pull requests

2 participants