microsoft / microsoft/powerbi-powershell

Get-PowerBIDataset -Name filter

Open
#357 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Get-PowerBIDataset -Name Filter is not working exactly.

  • When I provide the name and without workspace details, it gives all datasets in the default workspace, even though the name does not match any.
  • When I supply the name and with workspace details, it gives all datasets in the workspace,

Say, qqqqqqqqqq name does not exist also, it shows all datasets.

Get-PowerBIDataset -Name "qqqqqqqqqq"
Get-PowerBIDataset -Name "qqqqqqqqqq" -Workspace $ws
Get-PowerBIDataset -Name "qqqqqqqqqq" -WorkspaceId $ws.Id

What is expected? if I provide the name and workspace details, it should search and give the datasets that match. if no match then give zero results.

TIA

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 at the Get-PowerBIDataset entry point and reproduce the three commands shown in the issue, with and without workspace parameters. Trace how the Name filter is handled for each workspace mode; done means matching datasets are returned and a nonexistent name returns zero results instead of all datasets.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.