<?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 Finding the Count of Columns in a table that starts with 'Custom Field' in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-Count-of-Columns-in-a-table-that-starts-with-Custom/m-p/2871164#M92646</link>
    <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a requirement in which I need to count the number of columns created in a table during some post-processing of a client's data file.&amp;nbsp;&lt;SPAN&gt;These will have column titles like 'Custom Field 1', 'Custom Field 2', ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The summation of these columns needs to be included within the dashboard as a KPI. If no columns titled "custom field" exist within the dataset, assume that the value is 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried a lot to search for wildcard in Power BI but that referred to search values in a particular column and not search column names in a particular table.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2022 14:25:41 GMT</pubDate>
    <dc:creator>ahmedsilat</dc:creator>
    <dc:date>2022-10-28T14:25:41Z</dc:date>
    <item>
      <title>Finding the Count of Columns in a table that starts with 'Custom Field'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-Count-of-Columns-in-a-table-that-starts-with-Custom/m-p/2871164#M92646</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a requirement in which I need to count the number of columns created in a table during some post-processing of a client's data file.&amp;nbsp;&lt;SPAN&gt;These will have column titles like 'Custom Field 1', 'Custom Field 2', ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The summation of these columns needs to be included within the dashboard as a KPI. If no columns titled "custom field" exist within the dataset, assume that the value is 0.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I tried a lot to search for wildcard in Power BI but that referred to search values in a particular column and not search column names in a particular table.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 14:25:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-Count-of-Columns-in-a-table-that-starts-with-Custom/m-p/2871164#M92646</guid>
      <dc:creator>ahmedsilat</dc:creator>
      <dc:date>2022-10-28T14:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: Finding the Count of Columns in a table that starts with 'Custom Field'</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-Count-of-Columns-in-a-table-that-starts-with-Custom/m-p/2871412#M92662</link>
      <description>&lt;P&gt;i'm not sure i understood please provide woth some sample data if this doesnt work :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;CALCULATE(count(table[column]),allexcept(table,table[custom fields]))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if this works please consider acceptig it as solution and kudos&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 16:20:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-the-Count-of-Columns-in-a-table-that-starts-with-Custom/m-p/2871412#M92662</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-10-28T16:20:19Z</dc:date>
    </item>
  </channel>
</rss>

