<?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: DAX comparison operations do not support comparing values of type Integer with values of type Text. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-comparison-operations-do-not-support-comparing-values-of/m-p/3985097#M154496</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="757109" data-lia-user-login="chieboi" class="lia-mention lia-mention-user"&gt;chieboi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’d like to acknowledge the valuable input provided by the &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="583487" data-lia-user-login="Rupak_bi" class="lia-mention lia-mention-user"&gt;Rupak_bi&lt;/a&gt;&amp;nbsp;. Their initial ideas were instrumental in guiding my approach. However, I noticed that further details were needed to fully understand the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX does not perform implicit conversions on Boolean or string values ​​when comparing values. This behavior may lead to unexpected results or errors if the data types involved in the comparison are incompatible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can click on the column name involved in the expression to manually change its type to text format.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also use the FORMAT function to convert a value to text according to a specified format. For more details, refer to the documentation:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dax/format-function-dax" target="_blank"&gt;FORMAT function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Clara Gong&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 06:10:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-06-11T06:10:29Z</dc:date>
    <item>
      <title>DAX comparison operations do not support comparing values of type Integer with values of type Text.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-comparison-operations-do-not-support-comparing-values-of/m-p/3982555#M154415</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;pls help to determine the issue thou the format is text&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 10 Jun 2024 05:00:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-comparison-operations-do-not-support-comparing-values-of/m-p/3982555#M154415</guid>
      <dc:creator>chieboi</dc:creator>
      <dc:date>2024-06-10T05:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: DAX comparison operations do not support comparing values of type Integer with values of type Text.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-comparison-operations-do-not-support-comparing-values-of/m-p/3983013#M154431</link>
      <description>&lt;P&gt;I am not sure as you have not shared sample data, but just check if the "PalletID" is numbers or text. also change your if statement in case of blank as below and check.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(expression &amp;lt;&amp;gt; blank(), ,)&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 08:45:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-comparison-operations-do-not-support-comparing-values-of/m-p/3983013#M154431</guid>
      <dc:creator>Rupak_bi</dc:creator>
      <dc:date>2024-06-10T08:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: DAX comparison operations do not support comparing values of type Integer with values of type Text.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-comparison-operations-do-not-support-comparing-values-of/m-p/3985097#M154496</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="757109" data-lia-user-login="chieboi" class="lia-mention lia-mention-user"&gt;chieboi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I’d like to acknowledge the valuable input provided by the &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="583487" data-lia-user-login="Rupak_bi" class="lia-mention lia-mention-user"&gt;Rupak_bi&lt;/a&gt;&amp;nbsp;. Their initial ideas were instrumental in guiding my approach. However, I noticed that further details were needed to fully understand the issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX does not perform implicit conversions on Boolean or string values ​​when comparing values. This behavior may lead to unexpected results or errors if the data types involved in the comparison are incompatible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can click on the column name involved in the expression to manually change its type to text format.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also use the FORMAT function to convert a value to text according to a specified format. For more details, refer to the documentation:&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/dax/format-function-dax" target="_blank"&gt;FORMAT function (DAX) - DAX | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Clara Gong&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 06:10:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-comparison-operations-do-not-support-comparing-values-of/m-p/3985097#M154496</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-11T06:10:29Z</dc:date>
    </item>
  </channel>
</rss>

