microsoft / microsoft/Analysis-Services

Set-SemanticModelParameters does not work for parameter with "Enable load"

Open
#376 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
732
Forks
433
PR merge metrics
No merged PRs in 30d

Description

In Power Query you can right-click on a parameter and select "Enable load". The parameter is then no longer described in definition/expressions.tmdl but as a separate file definition/table/[parametername].tmdl and not as expression, but as partition of a table.

The Set-SemanticModelParameters is not updating the parameter with "Enable load" even though it is still a regular parameter from user interface of Power BI and also works like the same.

Image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Set-SemanticModelParameters entry point and how it reads parameter definitions from expressions.tmdl. Compare that handling with the table/[parametername].tmdl representation, where the parameter is a table partition. Done means parameters with “Enable load” are updated like regular Power Query parameters.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.