<?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: RAND() function not working in Fabric warehouse in Service</title>
    <link>https://community.fabric.microsoft.com/t5/Service/RAND-function-not-working-in-Fabric-warehouse/m-p/3970882#M234792</link>
    <description>&lt;P&gt;Thank you so much&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;it worked.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2024 10:07:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-04T10:07:44Z</dc:date>
    <item>
      <title>RAND() function not working in Fabric warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Service/RAND-function-not-working-in-Fabric-warehouse/m-p/3969316#M234709</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a requirement to auto generate the numbers between two integers like 10 and 100. when i searched in bing for warehouse it is saying that RAND() function should work but when i actually tried its not working giving the below error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;did anyone faced it help me in resolving this issue. Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SELECT RAND()*(10-5)+5;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 16:25:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/RAND-function-not-working-in-Fabric-warehouse/m-p/3969316#M234709</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-03T16:25:10Z</dc:date>
    </item>
    <item>
      <title>Re: RAND() function not working in Fabric warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Service/RAND-function-not-working-in-Fabric-warehouse/m-p/3969886#M234748</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Not all T-SQL function are support in Fabric Warehouse, you can try this code.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SELECT ABS(CHECKSUM(NEWID())) % (100 - 10 + 1) + 10
&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-reference-tsql-statements" target="_blank"&gt;T-SQL statements in dedicate SQL pool - Azure Synapse Analytics | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Yang&lt;BR /&gt;Community Support Team&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;helps&lt;/EM&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;BR /&gt;If I misunderstand your needs or you still have problems on it, please feel free to let us know.&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;Thanks a lot!&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C01%7Cv-yaningyang%40microsoft.com%7C326a6d727194478c197008dbefc04904%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638367381365912356%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=7IzyI2%2FMOAR%2FYCjWYSKCZL2VPmT4PsxuWBjdUdMWKzo%3D&amp;amp;reserved=0" target="_blank"&gt;How to get your questions answered quickly&lt;/A&gt;&amp;nbsp;--&amp;nbsp;&lt;A href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-provide-sample-data-in-the-Power-BI-Forum%2Fba-p%2F963216&amp;amp;data=05%7C01%7Cv-yaningyang%40microsoft.com%7C326a6d727194478c197008dbefc04904%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638367381365919045%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;amp;sdata=VeafzdwAsrpisD8s261%2FdyOwJ1aCtBXS3bPA6NODOHY%3D&amp;amp;reserved=0" target="_blank"&gt;&amp;nbsp;How to provide sample data in the Power BI Forum&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 01:55:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/RAND-function-not-working-in-Fabric-warehouse/m-p/3969886#M234748</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-04T01:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: RAND() function not working in Fabric warehouse</title>
      <link>https://community.fabric.microsoft.com/t5/Service/RAND-function-not-working-in-Fabric-warehouse/m-p/3970882#M234792</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;it worked.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 10:07:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Service/RAND-function-not-working-in-Fabric-warehouse/m-p/3970882#M234792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-04T10:07:44Z</dc:date>
    </item>
  </channel>
</rss>

