<?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: Hide matrix depending on selected value in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-matrix-depending-on-selected-value/m-p/2227890#M53108</link>
    <description>&lt;P&gt;You solved my problem&lt;/P&gt;&lt;P&gt;Merci beaucoup&lt;span class="lia-unicode-emoji" title=":smiling_face_with_heart_eyes:"&gt;😍&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Dec 2021 13:41:16 GMT</pubDate>
    <dc:creator>mahsy</dc:creator>
    <dc:date>2021-12-08T13:41:16Z</dc:date>
    <item>
      <title>Hide matrix depending on selected value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-matrix-depending-on-selected-value/m-p/2227209#M53060</link>
      <description>&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;I want to put in place the following rule :&lt;/STRONG&gt;
if selected period contains &lt;STRONG&gt;full&lt;/STRONG&gt; month, display the table otherwise display &lt;STRONG&gt;message&lt;/STRONG&gt;
My problem is to display the table if the period contains at &lt;STRONG&gt;least&lt;/STRONG&gt; one full month.
&lt;STRONG&gt;For example :&lt;/STRONG&gt;&lt;BR /&gt;if I chose from 01/september to 29/september, following message is displayed &lt;FONT color="#FF0000"&gt;"There is no full month in selected period"&lt;/FONT&gt;&lt;BR /&gt;&lt;SPAN&gt;if I chose from 01/sep to 15/oct, the table must be displayed with september data (because the month of september is complete)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Full month calculation&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="Y2IQFc"&gt;I would like the measure to return 1 if the selected period contains at least 1 full month&lt;BR /&gt;&lt;BR /&gt;Thank you for your help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 08:50:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-matrix-depending-on-selected-value/m-p/2227209#M53060</guid>
      <dc:creator>mahsy</dc:creator>
      <dc:date>2021-12-08T08:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Hide matrix depending on selected value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-matrix-depending-on-selected-value/m-p/2227494#M53083</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="332483" data-lia-user-login="mahsy" class="lia-mention lia-mention-user"&gt;mahsy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Add a custom column to your table to show 1 for first and last day of each month and zero for other days and name it FLDAYS, then write a measure to sum(FLDAYS), if it's more than 2 it means a full month included and if it's less that 2 it means full month not included. If the sum is 2 then check the Day(MIN(Calendar[Date])), if it's 1 it means full month included otherwise full month not included.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Share your PBIX or sample of your table in text format if you ran into any issue to apply this solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;helps&lt;/SPAN&gt;&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;accepting&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;nbsp;it as the solution&lt;/SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;to help the other members find it more quickly.&lt;BR /&gt;&lt;STRONG&gt;&lt;SPAN&gt;Appreciate your Kudos!!&lt;BR /&gt;&lt;STRONG&gt;LinkedIn:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&lt;A href="https://www.linkedin.com/in/vahid-dm/" target="_blank"&gt;www.linkedin.com/in/vahid-dm/&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 10:20:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-matrix-depending-on-selected-value/m-p/2227494#M53083</guid>
      <dc:creator>VahidDM</dc:creator>
      <dc:date>2021-12-08T10:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hide matrix depending on selected value</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-matrix-depending-on-selected-value/m-p/2227890#M53108</link>
      <description>&lt;P&gt;You solved my problem&lt;/P&gt;&lt;P&gt;Merci beaucoup&lt;span class="lia-unicode-emoji" title=":smiling_face_with_heart_eyes:"&gt;😍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 13:41:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Hide-matrix-depending-on-selected-value/m-p/2227890#M53108</guid>
      <dc:creator>mahsy</dc:creator>
      <dc:date>2021-12-08T13:41:16Z</dc:date>
    </item>
  </channel>
</rss>

