<?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 Data modeling not working in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Data-modeling-not-working/m-p/3029672#M103488</link>
    <description>&lt;P&gt;I have 2 tables- hierarchy_SA and historical_accuracy and modeled through 1: many relationship with a column called Service_area. I created some measures in the&amp;nbsp;historical_accuracy table and they work fine when I use the&amp;nbsp;Service_area column thru the same table (historical_accuracy). But when I use the Service_area column from the hierarchy_SA table, the measures break and give me incorrect results. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 21:25:14 GMT</pubDate>
    <dc:creator>ishanjain</dc:creator>
    <dc:date>2023-01-18T21:25:14Z</dc:date>
    <item>
      <title>Data modeling not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Data-modeling-not-working/m-p/3029672#M103488</link>
      <description>&lt;P&gt;I have 2 tables- hierarchy_SA and historical_accuracy and modeled through 1: many relationship with a column called Service_area. I created some measures in the&amp;nbsp;historical_accuracy table and they work fine when I use the&amp;nbsp;Service_area column thru the same table (historical_accuracy). But when I use the Service_area column from the hierarchy_SA table, the measures break and give me incorrect results. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 21:25:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Data-modeling-not-working/m-p/3029672#M103488</guid>
      <dc:creator>ishanjain</dc:creator>
      <dc:date>2023-01-18T21:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Data modeling not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Data-modeling-not-working/m-p/3029885#M103502</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="249932" data-lia-user-login="ishanjain" class="lia-mention lia-mention-user"&gt;ishanjain&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;try creating a measure for this:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Measure = 
CALCULATE (
SUM(historical_accuracy[Historical_Accuracy_Score]),
historical_accuracy[SERVICE_AREA] IN VALUES ( hierarchy_SA[SERVICE_AREA] )
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and sum can be exchanged by max or min or whatever expression you want&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 00:20:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Data-modeling-not-working/m-p/3029885#M103502</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-19T00:20:10Z</dc:date>
    </item>
  </channel>
</rss>

