Skip to content

Commit a878ec0

Browse files
committed
Bug Fixes
1 parent f277a03 commit a878ec0

14 files changed

Lines changed: 348 additions & 308 deletions
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"powerquery.sdk.defaultQueryFile": "${workspaceFolder}\\${workspaceFolderBasename}.query.pq",
3+
"powerquery.sdk.defaultExtension": "${workspaceFolder}\\bin\\AnyCPU\\Debug\\${workspaceFolderBasename}.mez"
4+
}
36.8 KB
Binary file not shown.

02 - Source for Connector/pbiAdminAPI.pq renamed to 03 - Development/pbiAdminAPI/pbiAdminAPI.pq

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ pbiAdminAPI.Groups =
992992
each
993993
{
994994
_[id]?,
995-
_[isReadOnly]?,
995+
Logical.From(_[isReadOnly]?),
996996
_[isOnDedicatedCapacity]?,
997997
_[capacityId]?,
998998
_[capacityMigrationStatus]?,
@@ -1998,7 +1998,7 @@ pbiAdminAPI.Dashboards =
19981998
{
19991999
_[id]?,
20002000
_[displayName]?,
2001-
_[isReadOnly]?,
2001+
Logical.From(_[isReadOnly]?),
20022002
_[webUrl]?,
20032003
_[embedUrl]?,
20042004
_[subscriptions]?
@@ -2236,8 +2236,8 @@ pbiAdminAPI.Tiles =
22362236
type table [
22372237
id = text,
22382238
embedUrl = text,
2239-
rowSpan = text,
2240-
colSpan = text,
2239+
rowSpan = number,
2240+
colSpan = number,
22412241
reportId = text,
22422242
datasetId = text
22432243
],
@@ -2247,8 +2247,8 @@ pbiAdminAPI.Tiles =
22472247
{
22482248
_[id]?,
22492249
_[embedUrl]?,
2250-
_[rowSpan]?,
2251-
_[colSpan]?,
2250+
Number.From(_[rowSpan]?),
2251+
Number.From(_[colSpan]?),
22522252
_[reportId]?,
22532253
_[datasetId]?
22542254
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="BuildMez">
3+
<PropertyGroup>
4+
<OutputPath Condition="'$(OutputPath)' == ''">$(MSBuildProjectDirectory)\bin\</OutputPath>
5+
<IntermediateOutputPath Condition="'$(IntermediateOutputPath)' == ''">$(MSBuildProjectDirectory)\obj\</IntermediateOutputPath>
6+
<MezIntermediatePath>$(IntermediateOutputPath)MEZ\</MezIntermediatePath>
7+
<MezOutputPath>$(OutputPath)$(MsBuildProjectName).mez</MezOutputPath>
8+
</PropertyGroup>
9+
<ItemGroup>
10+
<MezContent Include="pbiAdminAPI.pq" />
11+
<MezContent Include="pbiAdminAPI16.png" />
12+
<MezContent Include="pbiAdminAPI20.png" />
13+
<MezContent Include="pbiAdminAPI24.png" />
14+
<MezContent Include="pbiAdminAPI32.png" />
15+
<MezContent Include="pbiAdminAPI40.png" />
16+
<MezContent Include="pbiAdminAPI48.png" />
17+
<MezContent Include="pbiAdminAPI64.png" />
18+
<MezContent Include="pbiAdminAPI80.png" />
19+
<MezContent Include="resources.resx" />
20+
</ItemGroup>
21+
<Target Name="BuildMez" AfterTargets="Build" Inputs="@(MezContent)" Outputs="$(MezOutputPath)">
22+
<RemoveDir Directories="$(MezIntermediatePath)" />
23+
<Copy SourceFiles="@(MezContent)" DestinationFolder="$(MezIntermediatePath)" />
24+
<MakeDir Directories="$(OutputPath)" Condition="!Exists('$(OutputPath)')" />
25+
<ZipDirectory SourceDirectory="$(MezIntermediatePath)" DestinationFile="$(MezOutputPath)" Overwrite="true" />
26+
</Target>
27+
<Target Name="Clean">
28+
<RemoveDir Directories="$(MezIntermediatePath)" />
29+
<Delete Files="$(MezOutputPath)" />
30+
</Target>
31+
</Project>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Use this file to write queries to test your data connector
2+
let
3+
result = pbiAdminAPI.Navigation()
4+
in
5+
result
876 Bytes
Loading
1.06 KB
Loading
1.31 KB
Loading
1.75 KB
Loading
2.26 KB
Loading

0 commit comments

Comments
 (0)