microsoft / microsoft/powerbi-powershell

Get-PowerBIDataset-Name does not filter accordingly

Open
#132 8 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
413
Forks
134
Avg merge
33m
Merged PRs (30d)
1

Description

We are using v1.0.487.

We are facing an issue that Get-PowerBIDataset is not respecting the -Name filter.

Executing the following shows all datasets of the workspace
> Get-PowerBIDataset -WorkspaceId "7389acd3-37fa-xxx" -Name "xxx"
To work arround this issues we are using:
> Get-PowerBIDataset -WorkspaceId "7389acd3-37fa-xxx" | Where-Object {$_.Name -eq "xxx"}

Please fix the command let.

Contributor guide

Open the contributing guide

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 reproducing the Get-PowerBIDataset command with a workspace ID and -Name value, then inspect the cmdlet's handling of that parameter. The work is done when the command returns only the dataset matching -Name while preserving the existing workspace behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.