microsoft / microsoft/Analysis-Services
Set-SemanticModelParameters does not work for parameter with "Enable load"
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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