microsoft / microsoft/powerbi-powershell
How to create relationships between tables?
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 413
- Forks
- 134
- Avg merge
- 33m
- Merged PRs (30d)
- 1
Description
How can I create relationships between tables in a dataset that I create like this?
foreach($file in $files)
{
...
foreach($col in $cols)
{
$columns += New-PowerBIColumn -Name $col -DataType String
}
$tables += New-PowerBITable -Name $file.BaseName -Columns $columns
}
$ds = New-PowerBIDataset -Name $name -Tables $tables
Add-PowerBIDataset -Dataset $ds
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
No repository files or tests are identified in the issue. Start by reviewing the Power BI dataset and table commands shown, especially New-PowerBITable, New-PowerBIDataset, and Add-PowerBIDataset, then check whether the module documents relationship creation. Done means providing a verified relationship workflow or documenting that the capability is unavailable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- data
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100