<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Power BI Fabric - Create semantic model with via Microsoft Fabric API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4283816#M58280</link>
    <description>&lt;P&gt;202 is not an error, it means "Accepted" - the request was received and is being processed. You have the option of polling for the status, and for fetching the result once the operation ends.&lt;/P&gt;&lt;P&gt;Please read the documentation here&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/create-semantic-model?tabs=HTTP" target="_blank"&gt;Items - Create Semantic Model - REST API (SemanticModel) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and here for long running operations in Fabric REST APIs&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/articles/long-running-operation" target="_blank"&gt;Long running operations - Microsoft Fabric REST APIs | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Nov 2024 10:59:13 GMT</pubDate>
    <dc:creator>AmosHersch</dc:creator>
    <dc:date>2024-11-14T10:59:13Z</dc:date>
    <item>
      <title>Power BI Fabric - Create semantic model with via Microsoft Fabric API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4283702#M58276</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m currently exploring the Microsoft Fabric API,&amp;nbsp;specifically the Items - Create Semantic Model REST API (SemanticModel) as detailed on Microsoft Learn. Items - Create Semantic Model - REST API (SemanticModel) | Microsoft Learn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing error 400 -&amp;nbsp;&lt;/P&gt;&lt;P&gt;{"requestId":"b2bfe832-a486-4bd2-ac00-c271415768ac","errorCode":"InvalidDefinitionParts","moreDetails":[{"errorCode":"InvalidPlatformFile","message":"Invalid platform file"}],"message":"One or more definition parts missing or invalid"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using structure for request boby content:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;modelBim:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;string modelBimContent = @"{""name"": ""SalesModel"",""model"": {""tables"": [{&lt;BR /&gt;""name"": ""Sales"",""columns"": [{""name"": ""SalesID"", ""dataType"": ""int""},{""name"": ""Amount"", ""dataType"": ""decimal""}]}]}}";&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;definitionPbism&lt;/STRONG&gt;:&lt;BR /&gt;string definitionPbismContent = @"{""version"": ""1.0"",""connections"": [{""connectionType"": ""PowerBI"",""connectionString"": ""Server=myserver;Database=mydb;""}]}";&lt;/P&gt;&lt;P&gt;.&lt;STRONG&gt;platform&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;string platformContent = @"{""version"": ""1.0"",""platform"": ""PowerBI"",""settings"": {""storageMode"": ""InMemory"",""queryMode"": ""DirectQuery""}}";&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NaveenBharathi_0-1731577247815.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1199551iBB60C0E15BB9E36C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NaveenBharathi_0-1731577247815.png" alt="NaveenBharathi_0-1731577247815.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My questions are:&lt;/P&gt;&lt;P&gt;1. How can I create a semantic model Fabric API?&lt;/P&gt;&lt;P&gt;2.How to resolve the error.&lt;/P&gt;&lt;P&gt;3. Please help to provide sample request body content in Semantic model create.&lt;/P&gt;&lt;P&gt;4. Any another way for creating the semantic model uisng fabric API&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 09:46:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4283702#M58276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-14T09:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Fabric - Create semantic model with via Microsoft Fabric API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4283720#M58277</link>
      <description>&lt;P&gt;The error "&lt;SPAN&gt;Invalid platform file" indicates an issue with the .platform part you supplied. How did you get this file? Did you construct is manually? There's a schema for this file, and what you've sent probably doesn't conform to that schema.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can try creating without this part if you don't know how to construct it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 09:58:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4283720#M58277</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2024-11-14T09:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Fabric - Create semantic model with via Microsoft Fabric API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4283773#M58279</link>
      <description>&lt;P&gt;Thank you, But throw 202 error still not create semantic model why?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 10:30:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4283773#M58279</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-14T10:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Fabric - Create semantic model with via Microsoft Fabric API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4283816#M58280</link>
      <description>&lt;P&gt;202 is not an error, it means "Accepted" - the request was received and is being processed. You have the option of polling for the status, and for fetching the result once the operation ends.&lt;/P&gt;&lt;P&gt;Please read the documentation here&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/create-semantic-model?tabs=HTTP" target="_blank"&gt;Items - Create Semantic Model - REST API (SemanticModel) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and here for long running operations in Fabric REST APIs&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/articles/long-running-operation" target="_blank"&gt;Long running operations - Microsoft Fabric REST APIs | Microsoft Learn&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 10:59:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4283816#M58280</guid>
      <dc:creator>AmosHersch</dc:creator>
      <dc:date>2024-11-14T10:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Fabric - Create semantic model with via Microsoft Fabric API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4283963#M58283</link>
      <description>&lt;P&gt;Yes correct, But operation is failed.I think model.bim format is wrong please anyone share the model.bim structure&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;error:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;TridentPublicApiErrorResponse&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;xmlns:i="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" rel="noopener"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;xmlns="&lt;A href="http://schemas.datacontract.org/2004/07/Microsoft.PowerBI.ServiceContracts.Api.Public.Trident" target="_blank" rel="noopener"&gt;http://schemas.datacontract.org/2004/07/Microsoft.PowerBI.ServiceContracts.Api.Public.Trident&lt;/A&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;errorCode&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;RequestFailed&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/errorCode&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;message&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;Unable to process the request&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/message&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;requestId&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;873ac8b6-970d-4407-b741-d5943aecebc6&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/requestId&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/TridentPublicApiErrorResponse&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Thank you for support&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Nov 2024 12:18:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4283963#M58283</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-14T12:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Fabric - Create semantic model with via Microsoft Fabric API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4284296#M58286</link>
      <description>&lt;P&gt;Here's a tiny one I used for testing.&amp;nbsp; I created one in PBI first and exported to pbip.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
    "name": "UploadedSMTest",
    "compatibilityLevel": 1550,
    "model": {
        "culture": "en-US",
        "dataAccessOptions": {
            "legacyRedirects": true,
            "returnErrorValuesAsNull": true
        },
        "defaultPowerBIDataSourceVersion": "powerBI_V3",
        "sourceQueryCulture": "en-US",
        "tables": [{
                "name": "Applications",
                "lineageTag": "c549ffef-c9e8-4320-a6c7-1ad879c6f368",
                "columns": [{
                        "name": "Id",
                        "dataType": "string",
                        "isNullable": false,
                        "sourceColumn": "Id",
                        "sourceProviderType": "uniqueidentifier",
                        "lineageTag": "26c50fc8-c33e-4719-8a9e-bc82ba1cfb48",
                        "summarizeBy": "none",
                        "annotations": [{
                                "name": "SummarizationSetBy",
                                "value": "Automatic"
                            }
                        ]
                    }, {
                        "name": "Name",
                        "dataType": "string",
                        "isNullable": false,
                        "sourceColumn": "Name",
                        "sourceProviderType": "nvarchar(450)",
                        "lineageTag": "eb2102dc-9c35-4bdd-a577-86ca938c63c2",
                        "summarizeBy": "none",
                        "annotations": [{
                                "name": "SummarizationSetBy",
                                "value": "Automatic"
                            }
                        ]
                    }, {
                        "name": "Ordinal",
                        "dataType": "int64",
                        "isNullable": false,
                        "sourceColumn": "Ordinal",
                        "formatString": "0",
                        "sourceProviderType": "int",
                        "lineageTag": "0a30dc9f-2112-44ca-87f7-229acfd33254",
                        "summarizeBy": "sum",
                        "annotations": [{
                                "name": "SummarizationSetBy",
                                "value": "Automatic"
                            }
                        ]
                    }, {
                        "name": "Logo",
                        "dataType": "string",
                        "sourceColumn": "Logo",
                        "sourceProviderType": "nvarchar(max)",
                        "lineageTag": "5ba19601-51ab-44c8-9446-82f31187ddfe",
                        "summarizeBy": "none",
                        "annotations": [{
                                "name": "SummarizationSetBy",
                                "value": "Automatic"
                            }
                        ]
                    }, {
                        "name": "FileName",
                        "dataType": "string",
                        "sourceColumn": "FileName",
                        "sourceProviderType": "nvarchar(max)",
                        "lineageTag": "3d6b9fc3-163a-4760-8ea5-08c737fd7d7d",
                        "summarizeBy": "none",
                        "annotations": [{
                                "name": "SummarizationSetBy",
                                "value": "Automatic"
                            }
                        ]
                    }, {
                        "name": "IsActive",
                        "dataType": "boolean",
                        "isNullable": false,
                        "sourceColumn": "IsActive",
                        "formatString": "\"TRUE\";\"TRUE\";\"FALSE\"",
                        "sourceProviderType": "bit",
                        "lineageTag": "33149fb3-d533-4eff-8bad-911b5ab6a54b",
                        "summarizeBy": "none",
                        "annotations": [{
                                "name": "SummarizationSetBy",
                                "value": "Automatic"
                            }
                        ]
                    }
                ],
                "partitions": [{
                        "name": "Applications",
                        "mode": "directQuery",
                        "source": {
                            "type": "m",
                            "expression": [
                                "let",
                                "    Source = Sql.Database(\"xxxx-sql.database.windows.net\", \"yyyy\"),",
                                "    dbo_Applications = Source{[Schema=\"dbo\",Item=\"Applications\"]}[Data]",
                                "in",
                                "    dbo_Applications"
                            ]
                        }
                    }
                ],
                "annotations": [{
                        "name": "PBI_ResultType",
                        "value": "Table"
                    }
                ]
            }
        ],
        "cultures": [{
                "name": "en-US",
                "linguisticMetadata": {
                    "content": {
                        "Version": "1.0.0",
                        "Language": "en-US"
                    },
                    "contentType": "json"
                }
            }
        ],
        "annotations": [{
                "name": "PBI_QueryOrder",
                "value": "[\"Applications\"]"
            }, {
                "name": "__PBI_TimeIntelligenceEnabled",
                "value": "1"
            }, {
                "name": "PBIDesktopVersion",
                "value": "2.137.1102.0 (24.10)"
            }, {
                "name": "PBI_ProTooling",
                "value": "[\"DevMode\"]"
            }, {
                "name": "TabularEditor_SerializeOptions",
                "value": "{\"IgnoreInferredObjects\":true,\"IgnoreInferredProperties\":true,\"IgnoreTimestamps\":true,\"SplitMultilineStrings\":true,\"PrefixFilenames\":false,\"LocalTranslations\":false,\"LocalPerspectives\":false,\"LocalRelationships\":false,\"Levels\":[\"Data Sources\",\"Shared Expressions\",\"Perspectives\",\"Relationships\",\"Roles\",\"Tables\",\"Tables/Columns\",\"Tables/Hierarchies\",\"Tables/Measures\",\"Tables/Partitions\",\"Tables/Calculation Items\",\"Translations\"]}"
            }, {
                "name": "__TEdtr",
                "value": "1"
            }
        ]
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 15:28:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4284296#M58286</guid>
      <dc:creator>ddelapasse</dc:creator>
      <dc:date>2024-11-14T15:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Fabric - Create semantic model with via Microsoft Fabric API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4286186#M58299</link>
      <description>&lt;P&gt;I suggest you first create a semantic model manually, then look at its semantic model definition&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/rest/api/fabric/semanticmodel/items/get-semantic-model-definition?tabs=HTTP" target="_blank"&gt;Items - Get Semantic Model Definition - REST API (SemanticModel) | Microsoft Learn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to get the relevant sections and then construct one for your own.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Semantic Model Definition will give payload info in Base64, you will have to decode it.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 14:11:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4286186#M58299</guid>
      <dc:creator>KalyanAC</dc:creator>
      <dc:date>2024-11-15T14:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Fabric - Create semantic model with via Microsoft Fabric API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4356884#M58948</link>
      <description>&lt;P&gt;Hi i am able to create semantic layer with above json for model.bim but when dataset is created it is not connected with database(as i am connecting with azure database) because in above JSON we are not providing database credential details&lt;BR /&gt;so can you please give updated JSON by which our semantic layer will also connected with mentioned database so we can have data fetched&lt;BR /&gt;&lt;BR /&gt;Thanks !!!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 09:38:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4356884#M58948</guid>
      <dc:creator>UmeshGoti</dc:creator>
      <dc:date>2025-01-09T09:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Fabric - Create semantic model with via Microsoft Fabric API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4385716#M59230</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/626634"&gt;@ddelapasse&lt;/a&gt;&amp;nbsp; can you please let us know how we can specify relationships when we have more than once tables for above JSON&lt;BR /&gt;Thanks in advance !!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 07:58:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Fabric-Create-semantic-model-with-via-Microsoft-Fabric/m-p/4385716#M59230</guid>
      <dc:creator>UmeshGoti</dc:creator>
      <dc:date>2025-01-29T07:58:45Z</dc:date>
    </item>
  </channel>
</rss>

