microsoft / microsoft/powerbi-powershell
Get-PowerBIDataset returns empty DefaultMode for datasets
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 413
- Forks
- 134
- Avg merge
- 33m
- Merged PRs (30d)
- 1
Description
I've created some streaming datasets via Power BI in a browser and they appear with an empty DefaultMode when I list them with Get-PowerBIDataset. So I can't see which datasets are classic Push and which are Streaming.
If I try to create a new dataset via this code:
$dataset= New-PowerBIDataset -Name "RealtimeData From REST API Streaming" -Tables $table1
$dataset.DefaultMode="Streaming"
Add-PowerBIDataset -Dataset $dataset -WorkspaceId $workspace.Id
It just gives a Push dataset and not a Streaming dataset.
Contributor guide
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 tracing the Get-PowerBIDataset, New-PowerBIDataset, and Add-PowerBIDataset entry points involved in the report. Reproduce the streaming-dataset case and inspect how DefaultMode is handled; done means existing streaming datasets identify their mode and creating one with DefaultMode set to Streaming produces a Streaming dataset rather than a Push dataset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100