<?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: Switch Command on ages help needed in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-Command-on-ages-help-needed/m-p/3548987#M136489</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="497380" data-lia-user-login="KayCon" class="lia-mention lia-mention-user"&gt;KayCon&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try to post some sample data, ideally with expected result.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 12:42:10 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2023-11-23T12:42:10Z</dc:date>
    <item>
      <title>Switch Command on ages help needed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-Command-on-ages-help-needed/m-p/3548588#M136477</link>
      <description>&lt;P&gt;Morning&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to work out specific need depending on ages of children in each household. (bedroom requirements) Each person is on a seperate row with Family Ref linking them together, I need to work out the number of additional bedrooms depending on the following....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Opposite sex can share up until age of 10&lt;BR /&gt;Same sex can share up until age of 16&lt;BR /&gt;Anyone over 16 is entitled to their own bedroom.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following columns to use&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Family Ref No.&lt;/LI&gt;&lt;LI&gt;Name&lt;/LI&gt;&lt;LI&gt;Type (Mother,Father,Son,Daughter)&lt;/LI&gt;&lt;LI&gt;DOB&lt;/LI&gt;&lt;LI&gt;Age (calulated from DOB)&lt;/LI&gt;&lt;LI&gt;Max Age of Family&lt;/LI&gt;&lt;LI&gt;Min Age of Family&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Type2 (Adult/Child)&lt;/LI&gt;&lt;LI&gt;No of People in Family&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Idealing I am looking for an output to show who needs 2 beds, 3 beds ect... I've used Switch before but not is this complexity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice would be apprieated.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 09:15:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-Command-on-ages-help-needed/m-p/3548588#M136477</guid>
      <dc:creator>KayCon</dc:creator>
      <dc:date>2023-11-23T09:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Switch Command on ages help needed</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-Command-on-ages-help-needed/m-p/3548987#M136489</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="497380" data-lia-user-login="KayCon" class="lia-mention lia-mention-user"&gt;KayCon&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;try to post some sample data, ideally with expected result.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 12:42:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Switch-Command-on-ages-help-needed/m-p/3548987#M136489</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2023-11-23T12:42:10Z</dc:date>
    </item>
  </channel>
</rss>

