<?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: Create table from another with a dynamic variable in Desktop</title>
    <link>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167241#M1069062</link>
    <description>&lt;P&gt;OK, thanks!!! .... Consultation, how could I do it otherwise, that is, what option would there be?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;JUan Suyon&lt;/P&gt;</description>
    <pubDate>Sat, 01 Apr 2023 19:06:18 GMT</pubDate>
    <dc:creator>Syndicate_Admin</dc:creator>
    <dc:date>2023-04-01T19:06:18Z</dc:date>
    <item>
      <title>Create table from another with a dynamic variable</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3163533#M1068068</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;Good morning, I would like to guide me how to create a table from another with filter but the new table has a dynamic variable in the filter.&lt;/P&gt;&lt;P&gt;I attach the following example:&lt;/P&gt;&lt;P&gt;I have a table with sales fields, months and years. The report shows me the table with the fields described with a segmentation of years. The measure [annio] captures the selected year value.&lt;BR /&gt;And I want to get a new table according to:&lt;/P&gt;&lt;P&gt;Tabla_Filtro_medida =&lt;/P&gt;&lt;P&gt;          var aniio = [annio]&lt;/P&gt;&lt;P&gt;          var table = filter(Sales, Sales[Year]=aniio)&lt;/P&gt;&lt;P&gt;return table&lt;BR /&gt;&lt;BR /&gt;where [annio] = SELECTEDVALUE(Sales[Year])&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;however the table comes out blank&lt;/P&gt;&lt;P&gt;If I change the variable aniio by a constant number, there if I get the table ... for example create the tabla_Filtro_valor according to&lt;/P&gt;&lt;P&gt;Tabla_Filtro_valor = filter(Sales, Sales[Year]=2010)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;As you will see, the problem is just in the dynamic variable. How can I make it work.? ..... Note that the objective is to create the table so that the variable is dynamic.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Juan Suyon&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Mar 2023 13:24:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3163533#M1068068</guid>
      <dc:creator>Syndicate_Admin</dc:creator>
      <dc:date>2023-03-30T13:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from another with a dynamic variable</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167118#M1069037</link>
      <description>&lt;P&gt;Good day, any suggestions or opinions if you can or not?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Juan Suyon&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2023 13:52:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167118#M1069037</guid>
      <dc:creator>Syndicate_Admin</dc:creator>
      <dc:date>2023-04-01T13:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from another with a dynamic variable</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167186#M1069051</link>
      <description>&lt;P&gt;You cannot create a calculated column or calculated table from a measure.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2023 16:33:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167186#M1069051</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-04-01T16:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from another with a dynamic variable</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167241#M1069062</link>
      <description>&lt;P&gt;OK, thanks!!! .... Consultation, how could I do it otherwise, that is, what option would there be?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;JUan Suyon&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2023 19:06:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167241#M1069062</guid>
      <dc:creator>Syndicate_Admin</dc:creator>
      <dc:date>2023-04-01T19:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from another with a dynamic variable</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167353#M1069094</link>
      <description>&lt;P&gt;What are you planning to do with that resulting table?&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2023 23:43:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167353#M1069094</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-04-01T23:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from another with a dynamic variable</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167416#M1069119</link>
      <description>&lt;P&gt;Hello, I plan to apply the Topn function&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2023 00:43:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167416#M1069119</guid>
      <dc:creator>Syndicate_Admin</dc:creator>
      <dc:date>2023-04-02T00:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from another with a dynamic variable</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167436#M1069127</link>
      <description>&lt;P&gt;I meant: What business question are you trying to answer?&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2023 01:05:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167436#M1069127</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-04-02T01:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from another with a dynamic variable</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167449#M1069131</link>
      <description>&lt;P&gt;I explain the problem..... I have a multi-year sales table from different clients...... I want to get the top 20 sales per customer dynamically.... that is, with a year filter that shows me the table of the first 20 cleintes for that year. As the year is in a segmentation, the idea is to obtain this table every time the year varies.&lt;/P&gt;&lt;P&gt;That's why I tried to create the table with the dynamic variable but I understand that you can't..... Would there be another way to get what I am looking for dynamically?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2023 01:32:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167449#M1069131</guid>
      <dc:creator>Syndicate_Admin</dc:creator>
      <dc:date>2023-04-02T01:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from another with a dynamic variable</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167466#M1069136</link>
      <description>&lt;P&gt;You do that via RANKX() and then TOPN(20,...)&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2023 02:04:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167466#M1069136</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-04-02T02:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create table from another with a dynamic variable</title>
      <link>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167504#M1069147</link>
      <description>&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Sun, 02 Apr 2023 03:21:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Desktop/Create-table-from-another-with-a-dynamic-variable/m-p/3167504#M1069147</guid>
      <dc:creator>Syndicate_Admin</dc:creator>
      <dc:date>2023-04-02T03:21:53Z</dc:date>
    </item>
  </channel>
</rss>

