<?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 Desfiltrar al colocar en matriz in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Desfiltrar-al-colocar-en-matriz/m-p/3776206#M147594</link>
    <description>&lt;P&gt;Buenas tardes, Tengo una medida que me calcula un factor de conversión&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CNVS =&lt;/SPAN&gt; &lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Kg alimento]&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;[%Part]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[Sum Peso T]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&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;Este valor me da el factor por galpon, hasta ahi no hay problemas y sale perfecto. El problema es que quiero colocar en una matriz por granja y de ahi desagregar a por galpon. El problema es que el factor de conversion por granja me sale erroneo y debe de ser por que le afecta el %Part que se encuentra en la medida (ya que ese valor ayuda a hallarlo por galpon). No le asigno ningun porcentaje de participacion a cada granja, solo a los galpones dentro de cada granja.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;Obs: el error se ve en Gja Don Ignacio con CNVS 0.80. Sin embargo el de arriba parece estar correcto.&lt;/P&gt;&lt;P&gt;Necesito que me salga el valor por granja.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Desde ya gracias&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 19 Mar 2024 19:53:01 GMT</pubDate>
    <dc:creator>Chris03_</dc:creator>
    <dc:date>2024-03-19T19:53:01Z</dc:date>
    <item>
      <title>Desfiltrar al colocar en matriz</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Desfiltrar-al-colocar-en-matriz/m-p/3776206#M147594</link>
      <description>&lt;P&gt;Buenas tardes, Tengo una medida que me calcula un factor de conversión&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CNVS =&lt;/SPAN&gt; &lt;SPAN&gt;DIVIDE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[Kg alimento]&lt;/SPAN&gt;&lt;SPAN&gt;*&lt;/SPAN&gt;&lt;SPAN&gt;[%Part]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;[Sum Peso T]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&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;Este valor me da el factor por galpon, hasta ahi no hay problemas y sale perfecto. El problema es que quiero colocar en una matriz por granja y de ahi desagregar a por galpon. El problema es que el factor de conversion por granja me sale erroneo y debe de ser por que le afecta el %Part que se encuentra en la medida (ya que ese valor ayuda a hallarlo por galpon). No le asigno ningun porcentaje de participacion a cada granja, solo a los galpones dentro de cada granja.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;Obs: el error se ve en Gja Don Ignacio con CNVS 0.80. Sin embargo el de arriba parece estar correcto.&lt;/P&gt;&lt;P&gt;Necesito que me salga el valor por granja.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Desde ya gracias&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 19 Mar 2024 19:53:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Desfiltrar-al-colocar-en-matriz/m-p/3776206#M147594</guid>
      <dc:creator>Chris03_</dc:creator>
      <dc:date>2024-03-19T19:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Desfiltrar al colocar en matriz</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Desfiltrar-al-colocar-en-matriz/m-p/3777715#M147656</link>
      <description>&lt;P&gt;&lt;FONT&gt;Hi&lt;/FONT&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="703915" data-lia-user-login="Chris03_" class="lia-mention lia-mention-user"&gt;Chris03_&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;FONT&gt;You can do this by modifying the calculations to aggregate the components of the measure at the farm level before performing the division&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;CNVS_Farm = 
DIVIDE(
    SUMX(ALLSELECTED(Farm[Shed]), [Kg feed]) * SUMX(ALLSELECTED(Farm[Shed]), [%Part]),
    SUMX(ALLSELECTED(Farm), [Sum Weight T]),
    0
)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 6.0pt 0cm 0cm 0cm;"&gt;&lt;SPAN&gt;&lt;A title="https://community.powerbi.com/t5/community-blog/how-to-get-your-question-answered-quickly/ba-p/38490" href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcommunity.powerbi.com%2Ft5%2FCommunity-Blog%2FHow-to-Get-Your-Question-Answered-Quickly%2Fba-p%2F38490&amp;amp;data=05%7C02%7Cv-yohua%40microsoft.com%7Ce1106bfabecb4734a5cc08dc2305bc51%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638423754744679080%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&amp;amp;sdata=24%2BceC5sFd3n3%2FhFDYILWFcNjCwVClBD%2BPBsSLVfJGk%3D&amp;amp;reserved=0" target="_blank" rel="noopener"&gt;How to Get Your Question Answered Quickly&lt;/A&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;Yongkang Hua&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin-bottom: 6.0pt;"&gt;&lt;SPAN&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2024 08:46:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Desfiltrar-al-colocar-en-matriz/m-p/3777715#M147656</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-03-20T08:46:29Z</dc:date>
    </item>
  </channel>
</rss>

