Power BI Context Settings

Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/6314

Table Type: Company

Table Name: Power BI Context Settings
Database Table Name: CRONUS UK Ltd_$Power BI Context Settings$437dbf0e-84ff-417a-965d-ed2bb9650972

Table Number: 6314

Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how Power BI Context Settings can be queried.

Show/hide an example select of all columns

SELECT
   *
FROM
   [CRONUS UK Ltd_$Power BI Context Settings$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns by name

SELECT
   [UserSID]
   ,[Context]
   ,[SelectedElementId]
   ,[SelectedElementType]
   ,[LockToSelectedElement]
   ,[$systemId]
   ,[$systemCreatedAt]
   ,[$systemCreatedBy]
   ,[$systemModifiedAt]
   ,[$systemModifiedBy]
FROM
   [CRONUS UK Ltd_$Power BI Context Settings$437dbf0e-84ff-417a-965d-ed2bb9650972]

Show/hide an example select of all columns including those from all joined tables

SELECT
   *
FROM
   [CRONUS UK Ltd_$Power BI Context Settings$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Power BI Context Settings]
LEFT JOIN
   [User] AS [User]
      ON
         [Power BI Context Settings].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
   [User] AS [User]
      ON
         [Power BI Context Settings].[SystemModifiedBy] = [User].[User Security ID]

Show/hide columns in Power BI Context Settings table

Field No.Field NameField CaptionClassTypeLengthSQL Column NameSQL DataType
1UserSID Primary Key SearchUser Security IDNormalGUID16UserSIDuniqueidentifier
2Context Primary Key SearchContextNormalText50Contextnvarchar(100)
10SelectedElementId SearchSelected Element IDNormalText2048SelectedElementIdnvarchar(4096)
11SelectedElementType SearchSelected Element IDNormalOption4SelectedElementTypeint
Available options are:
  • “Workspace”
  • “Report”
  • “Report Visual”
  • “Dashboard”
  • “Dashboard Tile”
20LockToSelectedElement SearchLock To Selected ElementNormalBoolean4LockToSelectedElementtinyint
2000000000$systemId SearchSystem IDNormalGUID16$systemIduniqueidentifier
2000000001SystemCreatedAt SearchCreated AtNormalDateTime8$systemCreatedAtdatetime
2000000002SystemCreatedBy SearchCreated ByNormalGUID16$systemCreatedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [Power BI Context Settings].[$systemCreatedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Power BI Context Settings$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Power BI Context Settings]
LEFT JOIN
       [User] AS [User]
              ON
                     [Power BI Context Settings].[$systemCreatedBy] = [User].[User Security ID]
2000000003SystemModifiedAt SearchModified AtNormalDateTime8$systemModifiedAtdatetime
2000000004SystemModifiedBy SearchModified ByNormalGUID16$systemModifiedByuniqueidentifier
Key to join to the User table.

Show/hide example query

SELECT
       [Power BI Context Settings].[$systemModifiedBy]
       ,[User].[User Security ID]
FROM
       [CRONUS UK Ltd_$Power BI Context Settings$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Power BI Context Settings]
LEFT JOIN
       [User] AS [User]
              ON
                     [Power BI Context Settings].[$systemModifiedBy] = [User].[User Security ID]

Leave a Reply

Your email address will not be published. Required fields are marked *