<?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: Virtual Table and % User's type chart in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Virtual-Table-and-User-s-type-chart/m-p/3840515#M150148</link>
    <description>&lt;P&gt;Hi&amp;nbsp; Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't want the type user to change as the data is filtered, you can create a table of unrelated data to be used as a slicer and then use measure to customize the rules to influence.&lt;/P&gt;
&lt;P&gt;If it's convenient, you can show your expected results in the form of images and or share the pbix samples after removing sensitive data. We can better understand what the problem is and help you with it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 08:25:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-04-16T08:25:43Z</dc:date>
    <item>
      <title>Virtual Table and % User's type chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Virtual-Table-and-User-s-type-chart/m-p/3838976#M150091</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I have a virtual table like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;This one is a virtual table that the third file changes depending on the data filter as I show you with scenarios.&lt;/P&gt;&lt;P&gt;My virtual Table was created great with this Dax code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;_Table = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; MaxDate = &lt;/SPAN&gt;&lt;SPAN&gt;SELECTEDVALUE&lt;/SPAN&gt;&lt;SPAN&gt;(Calendario[Fecha], &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(Calendario[Fecha]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ADDCOLUMNS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SUMMARIZECOLUMNS&lt;/SPAN&gt;&lt;SPAN&gt;(Sesiones[user_Id], Sesiones [FechaInicio], &lt;/SPAN&gt;&lt;SPAN&gt;"F1"&lt;/SPAN&gt;&lt;SPAN&gt;, MaxDate, &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "Dias"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; int&lt;/SPAN&gt;&lt;SPAN&gt;(MaxDate- &lt;/SPAN&gt;&lt;SPAN&gt;MIN&lt;/SPAN&gt;&lt;SPAN&gt;(Sesiones[FechaInicio]))),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Tipo"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;([Dias]&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;40&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"New User"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"Old_User"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I have a Type_User dimension that have two values: OldUser and NewUser and I haven't a relationship with my Users Table ("Sesiones") between the type user is changing depending on data filter which is why I cant relate them.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Like I cant relate them, when I am going to representate in a chart, the chart is not good because it paints me 2 users for each type user for each typeUser instead of 2 old user (if I paint the first scenario) or 2 new user (If I paint the second scenario).&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;I have a simple measure that count this users:&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;Users = distinctcount (users)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT&gt;&lt;FONT&gt;I put on the measure on the chart to paint the values and I think I need to put on the userType file from UserTypeDimension on the legeng to paint well the chart, ... but like I cant do a relationship because usertype is changing when I change the data filter, the chart is not good. ...&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any ideas???????&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Apr 2024 18:41:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Virtual-Table-and-User-s-type-chart/m-p/3838976#M150091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-15T18:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Table and % User's type chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Virtual-Table-and-User-s-type-chart/m-p/3840515#M150148</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't want the type user to change as the data is filtered, you can create a table of unrelated data to be used as a slicer and then use measure to customize the rules to influence.&lt;/P&gt;
&lt;P&gt;If it's convenient, you can show your expected results in the form of images and or share the pbix samples after removing sensitive data. We can better understand what the problem is and help you with it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 08:25:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Virtual-Table-and-User-s-type-chart/m-p/3840515#M150148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-16T08:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Virtual Table and % User's type chart</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Virtual-Table-and-User-s-type-chart/m-p/3840930#M150163</link>
      <description>&lt;P&gt;I have the solution for my trouble.&lt;/P&gt;&lt;P&gt;I couldnt have one calculated table because my user type changes depending on the date filtered.&lt;/P&gt;&lt;P&gt;Like I have 3&amp;nbsp; user types, I decided to create a measure for each type, calculating one virtual table and filtering for each measure and each user_type with the user_type and calculating the number of users.&lt;/P&gt;&lt;P&gt;It works ¡¡&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 10:04:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Virtual-Table-and-User-s-type-chart/m-p/3840930#M150163</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-16T10:04:58Z</dc:date>
    </item>
  </channel>
</rss>

