<?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: trying to convert calculated column to measure in dax in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-convert-calculated-column-to-measure-in-dax/m-p/3709706#M144337</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="449986" data-lia-user-login="Sri57" class="lia-mention lia-mention-user"&gt;Sri57&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please share sample data and data model.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 04:16:14 GMT</pubDate>
    <dc:creator>talespin</dc:creator>
    <dc:date>2024-02-20T04:16:14Z</dc:date>
    <item>
      <title>trying to convert calculated column to measure in dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-convert-calculated-column-to-measure-in-dax/m-p/3709350#M144325</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I was trying to convert this dax column in to measure which I'm failing, Can anyone of you help me on this?&lt;/SPAN&gt;&lt;BR /&gt;IF(ISBLANK([Ship Date]),BLANK(),&lt;BR /&gt;CALCULATE(MIN('Table A'[Ship Date]),&lt;BR /&gt;FILTER('Table A','Table A'[Customer]=EARLIER('Table A'[Customer])),&lt;BR /&gt;FILTER('Table A','Table A'[Status]="Shipped"),&lt;BR /&gt;FILTER('Table A','Table A'[Item]&amp;lt;&amp;gt;"TAP")))&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 01:28:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-convert-calculated-column-to-measure-in-dax/m-p/3709350#M144325</guid>
      <dc:creator>Sri57</dc:creator>
      <dc:date>2024-02-20T01:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: trying to convert calculated column to measure in dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-convert-calculated-column-to-measure-in-dax/m-p/3709655#M144333</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;
&lt;P&gt;I am not sure how your semantic model looks like or how your expected outcome of the visualization looks like, but please try something like below whether it suits your requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;expected result measure: =
CALCULATE (
    MIN ( 'Table A'[Ship Date] ),
    FILTER (
        'Table A',
        'Table A'[Ship Date] &amp;lt;&amp;gt; BLANK ()
            &amp;amp;&amp;amp; 'Table A'[Customer]
                IN VALUES ( 'Table A'[Customer] )
                    &amp;amp;&amp;amp; 'Table A'[Status] = "Shipped"
                    &amp;amp;&amp;amp; 'Table A'[Item] &amp;lt;&amp;gt; "TAP"
    )
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Feb 2024 03:47:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-convert-calculated-column-to-measure-in-dax/m-p/3709655#M144333</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2024-02-20T03:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: trying to convert calculated column to measure in dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-convert-calculated-column-to-measure-in-dax/m-p/3709706#M144337</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="449986" data-lia-user-login="Sri57" class="lia-mention lia-mention-user"&gt;Sri57&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please share sample data and data model.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 04:16:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-convert-calculated-column-to-measure-in-dax/m-p/3709706#M144337</guid>
      <dc:creator>talespin</dc:creator>
      <dc:date>2024-02-20T04:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: trying to convert calculated column to measure in dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-convert-calculated-column-to-measure-in-dax/m-p/3713412#M144502</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="449986" data-lia-user-login="Sri57" class="lia-mention lia-mention-user"&gt;Sri57&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can create a measure as below to get it, and &lt;FONT color="#FF0000"&gt;the precondition&lt;/FONT&gt; is the field &lt;STRONG&gt;[Ship Date]&lt;/STRONG&gt; and &lt;STRONG&gt;[Customer]&lt;/STRONG&gt; need to be applied on the visual.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure  =
VAR _shipdate =
    SELECTEDVALUE ( 'Table A'[Ship Date] )
VAR _customer =
    SELECTEDVALUE ( 'Table A'[Customer] )
RETURN
    IF (
        ISBLANK ( _shipdate ),
        BLANK (),
        CALCULATE (
            MIN ( 'Table A'[Ship Date] ),
            FILTER (
                ALLSELECTED ( 'Table A' ),
                'Table A'[Customer] = _customer
                    &amp;amp;&amp;amp; 'Table A'[Status] = "Shipped"
                    &amp;amp;&amp;amp; 'Table A'[Item] &amp;lt;&amp;gt; "TAP"
            )
        )
    )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 07:15:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/trying-to-convert-calculated-column-to-measure-in-dax/m-p/3713412#M144502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-02-21T07:15:54Z</dc:date>
    </item>
  </channel>
</rss>

