<?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: write a calcaulated measure to identify blanks in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/write-a-calcaulated-measure-to-identify-blanks/m-p/4622249#M176927</link>
    <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="886657" data-lia-user-login="powerbidu" class="lia-mention lia-mention-user"&gt;powerbidu&lt;/a&gt; ,&lt;BR /&gt;To create a measure in Power BI that dynamically checks if any column in a row is blank and returns "Yes" if so, or "No" if all are filled, you need to be mindful that &lt;STRONG data-start="168" data-end="218"&gt;measures do not evaluate row-by-row by default&lt;/STRONG&gt; like calculated columns do. However, if you're working with a fixed set of known columns in your visual, you can create a custom DAX measure using conditional logic to check for blanks in each field. While it won’t respond dynamically to column visibility in the visual (since DAX measures must reference specific columns), you can still create a flexible measure that captures the most relevant fields and flags exceptions as needed. This measure can then be used in the “Exception?” column to identify rows that contain any missing values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Exception? = 
IF (
    OR (
        ISBLANK(YourTable[Trade]),
        ISBLANK(YourTable[Date]),
        ISBLANK(YourTable[Time])
    ),
    "Yes",
    "No"
)
&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 08 Jul 2025 09:45:03 GMT</pubDate>
    <dc:creator>rohit1991</dc:creator>
    <dc:date>2025-07-08T09:45:03Z</dc:date>
    <item>
      <title>write a calcaulated measure to identify blanks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/write-a-calcaulated-measure-to-identify-blanks/m-p/4622124#M176920</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;I have created a table in Power BI that contains multiple columns. I would like to create a measure that returns "Yes" if any column in a row is blank, and "No" if all the columns are filled. Please note: The columns can change depending on which columns I select to include in the table.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;Results should follow the 'Exception' Column.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Trade&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&gt;&lt;TD&gt;Time&lt;/TD&gt;&lt;TD&gt;Exception?&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;123&lt;/TD&gt;&lt;TD&gt;XXX&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;124&lt;/TD&gt;&lt;TD&gt;XXX&lt;/TD&gt;&lt;TD&gt;YYY&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;125&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;YYY&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;126&lt;/TD&gt;&lt;TD&gt;XXX&lt;/TD&gt;&lt;TD&gt;YYY&lt;/TD&gt;&lt;TD&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;127&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thank you in advance&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 24 Mar 2025 10:07:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/write-a-calcaulated-measure-to-identify-blanks/m-p/4622124#M176920</guid>
      <dc:creator>powerbidu</dc:creator>
      <dc:date>2025-03-24T10:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: write a calcaulated measure to identify blanks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/write-a-calcaulated-measure-to-identify-blanks/m-p/4622211#M176923</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="886657" data-lia-user-login="powerbidu" class="lia-mention lia-mention-user"&gt;powerbidu&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you please try the below DAX.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Exception =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;SWITCH&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;TRUE&lt;/SPAN&gt;&lt;SPAN&gt;(),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Trade1&lt;/SPAN&gt;&lt;SPAN&gt;[date]&lt;/SPAN&gt;&lt;SPAN&gt;)) || &lt;/SPAN&gt;&lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Trade1&lt;/SPAN&gt;&lt;SPAN&gt;[time]&lt;/SPAN&gt;&lt;SPAN&gt;)), &lt;/SPAN&gt;&lt;SPAN&gt;"Yes"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"No"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;If this answers your questions, kindly mark this as a solution.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 25 Mar 2025 11:14:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/write-a-calcaulated-measure-to-identify-blanks/m-p/4622211#M176923</guid>
      <dc:creator>mdaatifraza5556</dc:creator>
      <dc:date>2025-03-25T11:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: write a calcaulated measure to identify blanks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/write-a-calcaulated-measure-to-identify-blanks/m-p/4622249#M176927</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="886657" data-lia-user-login="powerbidu" class="lia-mention lia-mention-user"&gt;powerbidu&lt;/a&gt; ,&lt;BR /&gt;To create a measure in Power BI that dynamically checks if any column in a row is blank and returns "Yes" if so, or "No" if all are filled, you need to be mindful that &lt;STRONG data-start="168" data-end="218"&gt;measures do not evaluate row-by-row by default&lt;/STRONG&gt; like calculated columns do. However, if you're working with a fixed set of known columns in your visual, you can create a custom DAX measure using conditional logic to check for blanks in each field. While it won’t respond dynamically to column visibility in the visual (since DAX measures must reference specific columns), you can still create a flexible measure that captures the most relevant fields and flags exceptions as needed. This measure can then be used in the “Exception?” column to identify rows that contain any missing values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Exception? = 
IF (
    OR (
        ISBLANK(YourTable[Trade]),
        ISBLANK(YourTable[Date]),
        ISBLANK(YourTable[Time])
    ),
    "Yes",
    "No"
)
&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 08 Jul 2025 09:45:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/write-a-calcaulated-measure-to-identify-blanks/m-p/4622249#M176927</guid>
      <dc:creator>rohit1991</dc:creator>
      <dc:date>2025-07-08T09:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: write a calcaulated measure to identify blanks</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/write-a-calcaulated-measure-to-identify-blanks/m-p/4630251#M177253</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="886657" data-lia-user-login="powerbidu" class="lia-mention lia-mention-user"&gt;powerbidu&lt;/a&gt;&amp;nbsp;, Please let us know if your issue is solved. If it is, consider marking the answer that helped&amp;nbsp;&lt;STRONG&gt;'Accept as Solution'&lt;/STRONG&gt;, so others with similar queries can find it easily. If not, please share the details.&lt;BR /&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Mar 2025 10:09:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/write-a-calcaulated-measure-to-identify-blanks/m-p/4630251#M177253</guid>
      <dc:creator>v-hashadapu</dc:creator>
      <dc:date>2025-03-29T10:09:59Z</dc:date>
    </item>
  </channel>
</rss>

