<?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: Segregación RRHH in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3834650#M149932</link>
    <description>&lt;P&gt;Muchas gracias&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&amp;nbsp;efectivamente esto era lo que necesitaba.&lt;/P&gt;</description>
    <pubDate>Fri, 12 Apr 2024 18:45:55 GMT</pubDate>
    <dc:creator>julian_urrea</dc:creator>
    <dc:date>2024-04-12T18:45:55Z</dc:date>
    <item>
      <title>Segregación RRHH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3820562#M149417</link>
      <description>&lt;P&gt;Hola a todos!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Estoy intentado crear el INDICE DE SEGREGACION OCUPACIONAL GENERAL el cual se debe medir por cargo, genero mes a mes&amp;nbsp; para esto me estoy basando en la siguiente tabla&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Esta es mi tabla de información&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Necesito construir las mismas métricas&amp;nbsp; y debo tener en cuenta que solo se miden aquellos cargos en que hay personal de los dos generos.&lt;BR /&gt;&lt;BR /&gt;Les agradezco su colaboración.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 17:38:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3820562#M149417</guid>
      <dc:creator>julian_urrea</dc:creator>
      <dc:date>2024-04-08T17:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Segregación RRHH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3822555#M149494</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="720266" data-lia-user-login="julian_urrea" class="lia-mention lia-mention-user"&gt;julian_urrea&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;The Table data is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please follow these steps:&lt;/P&gt;
&lt;P&gt;1. Use the following DAX expression to create a table&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = FILTER('Table',NOT ISBLANK('Table'[Genero]))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;2.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Hombre = 
VAR _a = CALCULATE(COUNT('Table 2'[Genero]),'Table 2'[Genero]  = "Masculino")
RETURN IF(ISBLANK(_a),0,_a)&lt;/LI-CODE&gt;
&lt;P&gt;3.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Mujer = 
VAR _a = CALCULATE(COUNT('Table 2'[Genero]),'Table 2'[Genero] = "Femenino")
RETURN IF(ISBLANK(_a),0,_a)&lt;/LI-CODE&gt;
&lt;P&gt;4.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Total = [Hombre] + [Mujer]&lt;/LI-CODE&gt;
&lt;P&gt;5.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ABSOLUTO Hombres = [Hombre]&lt;/LI-CODE&gt;
&lt;P&gt;6.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;% hombres en el puesto = DIVIDE([ABSOLUTO Hombres],[Total],0)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;7.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ABSOLUTO Mujeres = [Mujer]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;8.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;%Mujeres en el puesto = DIVIDE([ABSOLUTO Mujeres],[Total],0)&lt;/LI-CODE&gt;
&lt;P&gt;9.Final output&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Wenbin Zhou&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 09:22:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3822555#M149494</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-09T09:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Segregación RRHH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3824750#M149567</link>
      <description>&lt;P&gt;Buenas tardes&amp;nbsp;Anonymous&lt;/a&gt;,&amp;nbsp;primero que todo agradezco el tiempo que te tomaste para adyuarme con mi consulta.&lt;BR /&gt;&lt;BR /&gt;Estuve revisando la solución que me ofreces y me genera error al tratar de mostrar la información por mes, ya realice las mismas metricas que me planteas y con eso busco obtener el último paso que es&amp;nbsp;4= ABS(3A-3B), al momento de mostrarlo por mes la formula pierde consistencia.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adjunto una imagen de lo que me sale.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 20:04:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3824750#M149567</guid>
      <dc:creator>julian_urrea</dc:creator>
      <dc:date>2024-04-09T20:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Segregación RRHH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3826546#M149611</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="720266" data-lia-user-login="julian_urrea" class="lia-mention lia-mention-user"&gt;julian_urrea&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Regarding your question, if you use the date as the x-axis, you will first calculate the sum of column '3A' and the sum of column '3B' before proceeding with the calculation, i.e. ABS(1-1).&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If you want to view data in multiple dimensions, i.e.,you can use a matrix.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If I'm misunderstanding, please provide the data and show the expected results in pictures.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 09:37:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3826546#M149611</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-10T09:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Segregación RRHH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3827591#M149646</link>
      <description>&lt;P&gt;Hola&amp;nbsp;Anonymous&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;En teoría debo presentar un gráfico de barras mensual o trimestral como muestro a continuación, este gráfico que te muestro es un ejemplo que me dieron hacia lo que debo llegar.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Yo tengo una tabla de tiempo relacionada a mi tabla Base que es con la que trabajo la información principal del tablero. y cuanto con una informacion similar a la que te proporcioné&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Lo único que no te dije es que el calculo que se ve en el gráfico de barras es el resaltado en la siguiente imagen que esta en letra roja&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Se calcula sacando el último paso 4= ABS(3A-3B)&lt;STRONG&gt;/2&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 13:17:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3827591#M149646</guid>
      <dc:creator>julian_urrea</dc:creator>
      <dc:date>2024-04-10T13:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: Segregación RRHH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3827647#M149649</link>
      <description>&lt;P&gt;El resultado que vez al final es la suma de las filas de 4=ABS(3A-3B)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 13:26:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3827647#M149649</guid>
      <dc:creator>julian_urrea</dc:creator>
      <dc:date>2024-04-10T13:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Segregación RRHH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3830388#M149758</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="720266" data-lia-user-login="julian_urrea" class="lia-mention lia-mention-user"&gt;julian_urrea&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I apologize for misunderstanding you earlier, please do the following.&lt;/P&gt;
&lt;P&gt;The Table data is shown below:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;Please follow these steps:&lt;/P&gt;
&lt;P&gt;1. Use the following DAX expression to create a table named 'Table2'&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table 2 = 
VAR _a = SUMMARIZE('Table','Table'[Cargo],'Table'[Fecha])
VAR _b = ADDCOLUMNS(_a,"A",IF(ISBLANK(CALCULATE(COUNT('Table'[Genero]),'Table'[Genero]  = "Masculino")),0,CALCULATE(COUNT('Table'[Genero]),'Table'[Genero]  = "Masculino")))
VAR _c = ADDCOLUMNS(_b,"B",IF(ISBLANK(CALCULATE(COUNT('Table'[Genero]),'Table'[Genero] = "Femenino")),0,CALCULATE(COUNT('Table'[Genero]),'Table'[Genero] = "Femenino")))
RETURN _c&lt;/LI-CODE&gt;
&lt;P&gt;2.Use the following DAX expression to create columns in 'Table2'&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;C = [A] +[B]&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;1A = [A]&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;2A = DIVIDE([1A],[C])&lt;/LI-CODE&gt;
&lt;P&gt;THO = 20&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;3A = DIVIDE([1A],20)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;1B = [B]&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;2B = DIVIDE([1B],[C])&lt;/LI-CODE&gt;
&lt;P&gt;TMO = 50&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;3B = DIVIDE([1B],50)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;4 = ABS([3A] - [3B])&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;3.Use the following DAX expression to create a measure&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = DIVIDE(SUM('Table 2'[4]),2)&lt;/LI-CODE&gt;
&lt;P&gt;4.Final output&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;</description>
      <pubDate>Thu, 11 Apr 2024 09:50:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3830388#M149758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-04-11T09:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Segregación RRHH</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3834650#M149932</link>
      <description>&lt;P&gt;Muchas gracias&amp;nbsp;Anonymous&lt;/a&gt;,&amp;nbsp;efectivamente esto era lo que necesitaba.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 18:45:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Segregaci%C3%B3n-RRHH/m-p/3834650#M149932</guid>
      <dc:creator>julian_urrea</dc:creator>
      <dc:date>2024-04-12T18:45:55Z</dc:date>
    </item>
  </channel>
</rss>

