<?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: MongoDB power BI connector not giving all columns in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/MongoDB-power-BI-connector-not-giving-all-columns/m-p/3424977#M1136857</link>
    <description>&lt;P&gt;Can we show both parent columns and child columns(arrays) from mongodb to power bi ?&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2023 20:14:30 GMT</pubDate>
    <dc:creator>Jyo27</dc:creator>
    <dc:date>2023-09-11T20:14:30Z</dc:date>
    <item>
      <title>MongoDB power BI connector not giving all columns</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/MongoDB-power-BI-connector-not-giving-all-columns/m-p/1552728#M634637</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm using MongoDB powerBi connector to connect power BI and MongoDB earlier I was getting data from the MongoDB collection but after making some alteration to the data (some specific fields) suddenly those columns stopped coming in the query editor. I've tried creating a new DSN and fetching the data but still, the same issue occurred. I restarted the connector but the problem didn't solve.&lt;/P&gt;&lt;P&gt;The strange thing is when I'm connecting from the command prompt using mongosqld then I'm able to see all the columns in that collection but from the odbc I'm not getting those columns.&lt;/P&gt;&lt;P&gt;and yes one more thing I would like to ask that the difference between:-&lt;/P&gt;&lt;P&gt;1. MongoSQLD vs MongoDB (power BI connector)&lt;BR /&gt;2. When connecting via Mongo(power BI connector)we are only getting a fixed number of columns, that is, 35 or 34 but when connecting from MongoSQLD it is giving 48 columns.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Dec 2020 05:49:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/MongoDB-power-BI-connector-not-giving-all-columns/m-p/1552728#M634637</guid>
      <dc:creator>shubham-sharma</dc:creator>
      <dc:date>2020-12-16T05:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: MongoDB power BI connector not giving all columns</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/MongoDB-power-BI-connector-not-giving-all-columns/m-p/1558291#M636123</link>
      <description>&lt;P&gt;Hello &lt;A href="https://community.powerbi.com/t5/user/viewprofilepage/user-id/275689" target="_blank"&gt;@shubham-sharma&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;You can try to check the permission in the data source settings and connect again.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="21.png" style="width: 690px;"&gt;&lt;IMG src="https://ip1.i.lithium.com/c0942e7a5238d2024735a8d00b997c835fe2df99/68747470733a2f2f636f6d6d756e6974792e706f77657262692e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f34333138393569313246384638424643314530323945343f763d312e30" role="button" title="21.png" alt="21.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="22.png" style="width: 808px;"&gt;&lt;IMG src="https://ip1.i.lithium.com/f2228a85d76f1fd72daca43ef599d5b084993ebf/68747470733a2f2f636f6d6d756e6974792e706f77657262692e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f34333138393669444341344545463641374132453731323f763d312e30" role="button" title="22.png" alt="22.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;About the difference, please kindly refer to:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.guru99.com/what-is-mongodb.html" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://www.guru99.com/what-is-mongodb.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.mongodb.com/bi-connector/master/reference/mongosqld" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://docs.mongodb.com/bi-connector/master/reference/mongosqld&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.mongodb.com/bi-connector/master/faq" target="_blank" rel="nofollow noopener noreferrer noopener noreferrer"&gt;https://docs.mongodb.com/bi-connector/master/faq&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Stephen Tao&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;If this post &lt;STRONG&gt;helps,&lt;/STRONG&gt;then &lt;EM&gt;&lt;STRONG&gt;consider Accepting it as the&lt;/STRONG&gt;&lt;/EM&gt; solution to help other members find it faster.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2021 12:24:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/MongoDB-power-BI-connector-not-giving-all-columns/m-p/1558291#M636123</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-13T12:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: MongoDB power BI connector not giving all columns</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/MongoDB-power-BI-connector-not-giving-all-columns/m-p/1573025#M640061</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="275689" data-lia-user-login="shubham-sharma" class="lia-mention lia-mention-user"&gt;shubham-sharma&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Could you tell me if your problem has been solved?&lt;BR /&gt;If it is, kindly Accept it as the solution. More people will benefit from it.&lt;BR /&gt;Or you are still confused about it, please provide me with more details about your problem.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Stephen Tao&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 07:21:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/MongoDB-power-BI-connector-not-giving-all-columns/m-p/1573025#M640061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-29T07:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: MongoDB power BI connector not giving all columns</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/MongoDB-power-BI-connector-not-giving-all-columns/m-p/3424977#M1136857</link>
      <description>&lt;P&gt;Can we show both parent columns and child columns(arrays) from mongodb to power bi ?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 20:14:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/MongoDB-power-BI-connector-not-giving-all-columns/m-p/3424977#M1136857</guid>
      <dc:creator>Jyo27</dc:creator>
      <dc:date>2023-09-11T20:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: MongoDB power BI connector not giving all columns</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/MongoDB-power-BI-connector-not-giving-all-columns/m-p/3701155#M1206673</link>
      <description>&lt;P&gt;I had the same issue and could not find a solution on a PBI or MongoDB forum, but found the solution in the mongodb BI connector doc! I am using the self-managed BI connector offered by MongoDB with an on-prem MongoDB install (no Atlas!).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reason why some columns are not loaded could come from how the MongoDB BI connector builds a schema (columns) based on your data.&lt;STRONG&gt; By default (as of version 2.14.12), it only uses 1000 documents of each collection to identify columns. Meaning that if documents other than these 1000 documents have extra columns, they would be missing in your Power BI report!&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;This default value of 1000 can be changed when you start mongosqld using the argument "--sampleSize". By setting its value to 0, it uses&lt;SPAN&gt;&amp;nbsp;ALL documents of the collection when building the schema, so all your columns will be identified and loaded!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the command to run when you start mongosqld (first you might have to stop it from the Task Manager services if it's already running!):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;mongosqld.exe --sampleSize 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;By default mongosqld.exe should be on that folder:&amp;nbsp;&lt;SPAN&gt;C:\Program Files\MongoDB\Connector for BI\2.14\bin\&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;See more info on the command in the link below. Note that you can specify a DB and collection for the sampleSize. If you don't specify it, it will be applied on all collections.&amp;nbsp;&lt;SPAN&gt;Note that if you want the schema to be refreshed if it is likely that new keys/columns would be added to your mongodb DB, you can also set --schemaRefreshIntervalSecs, see the doc below.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Doc:&amp;nbsp;&lt;A href="https://www.mongodb.com/docs/bi-connector/current/reference/mongosqld/#std-option-mongosqld.--sampleSize" target="_blank" rel="noopener"&gt;https://www.mongodb.com/docs/bi-connector/current/reference/mongosqld/#std-option-mongosqld.--sampleSize&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 11:50:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/MongoDB-power-BI-connector-not-giving-all-columns/m-p/3701155#M1206673</guid>
      <dc:creator>XavierS</dc:creator>
      <dc:date>2024-02-15T11:50:11Z</dc:date>
    </item>
  </channel>
</rss>

