<?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: Hidden column in condition to create new dimension in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hidden-column-in-condition-to-create-new-dimension/m-p/3506835#M134539</link>
    <description>&lt;P&gt;No one has any solution?&lt;/P&gt;</description>
    <pubDate>Tue, 31 Oct 2023 10:03:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-10-31T10:03:17Z</dc:date>
    <item>
      <title>Hidden column in condition to create new dimension</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hidden-column-in-condition-to-create-new-dimension/m-p/3483048#M133219</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have applied OLS on column through tabular editor. There are few columns which should be hidden for some roles. But actually that column is used as dimension of graph (other users have access to that column). What I want is if user for which that column is hidden, I want to show other colum as dimension in same graph. Is there a way to create conditional dimension in grpah like, if(ColumnHidden, ShowOtherCoumn, SameColumn_Not_Hidden_for_other_user)?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 10:45:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hidden-column-in-condition-to-create-new-dimension/m-p/3483048#M133219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-18T10:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden column in condition to create new dimension</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hidden-column-in-condition-to-create-new-dimension/m-p/3483569#M133246</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; There could be other way around but I can think of below which is not straightforward&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1) You need to create &lt;STRONG&gt;UserDetails&lt;/STRONG&gt; table with UserName and DisplayCoulumn. UserName will be email address which could be referenced by USERPRINCIPALNAME(). DisplayColumn will capture the name of the column you want to display for that user. eg. you table would look like below. &lt;STRONG&gt;'TableName' will be name of your data table where dimensions are stored.&lt;/STRONG&gt;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;UserName&lt;/TD&gt;&lt;TD&gt;DisplayColumn&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;user1@abc.com&lt;/TD&gt;&lt;TD&gt;'TableName'[Column1]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;user2@abc.com&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;'TableName'[Column2]&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Create Dynamic RLS Role using Manage Role from Modelling tab. Apply filter condition on UserDetails table as below for that role&lt;BR /&gt;[UserName] = USERPRINCIPALNAME()&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;3) Create DAX measure as below to capture the name of the column for that user.&lt;BR /&gt;DynamicColumn= VALUES(UserDetails[DisplayColumn])&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;4) Create a Dimension parameter with any dimension and then update the parameter as below to include DAX measure which will capture dynamic column name&lt;BR /&gt;Dimension -Parameter = {&lt;BR /&gt;("Column Name", [DynamicColumn], 0)&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5) Call the Dimension - Parameter in your chart as dimension.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 14:20:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hidden-column-in-condition-to-create-new-dimension/m-p/3483569#M133246</guid>
      <dc:creator>kushal_chawda</dc:creator>
      <dc:date>2023-10-18T14:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden column in condition to create new dimension</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hidden-column-in-condition-to-create-new-dimension/m-p/3496602#M133964</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="584718" data-lia-user-login="kushal_chawda" class="lia-mention lia-mention-user"&gt;kushal_chawda&lt;/a&gt;&amp;nbsp;thanks but it doesn't work&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:52:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hidden-column-in-condition-to-create-new-dimension/m-p/3496602#M133964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-25T13:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden column in condition to create new dimension</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hidden-column-in-condition-to-create-new-dimension/m-p/3496605#M133966</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="41" data-lia-user-login="marcorusso" class="lia-mention lia-mention-user"&gt;marcorusso&lt;/a&gt;&amp;nbsp; can you help?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:53:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hidden-column-in-condition-to-create-new-dimension/m-p/3496605#M133966</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-25T13:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Hidden column in condition to create new dimension</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hidden-column-in-condition-to-create-new-dimension/m-p/3506835#M134539</link>
      <description>&lt;P&gt;No one has any solution?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 10:03:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hidden-column-in-condition-to-create-new-dimension/m-p/3506835#M134539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-10-31T10:03:17Z</dc:date>
    </item>
  </channel>
</rss>

