<?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: Crear tabla calculada con valores calculados a partir del valor seleccionado en una visualización. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Crear-tabla-calculada-con-valores-calculados-a-partir-del-valor/m-p/1633526#M33133</link>
    <description>&lt;P&gt;If your calendar table is linked to your data model (as it should be) then your approach will not work. You need to create a separate table with dates and use that new table for the date slicer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can use the SELECTEDVALUE() function for both the Date slicer and the week count slicer to compute your measure.&lt;/P&gt;</description>
    <pubDate>Sat, 30 Jan 2021 23:02:01 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2021-01-30T23:02:01Z</dc:date>
    <item>
      <title>Crear tabla calculada con valores calculados a partir del valor seleccionado en una visualización.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Crear-tabla-calculada-con-valores-calculados-a-partir-del-valor/m-p/1629200#M32986</link>
      <description>&lt;P&gt;Buenas tardes.&lt;/P&gt;&lt;P&gt;Os explico el caso, tengo :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Tabla Calendario (DAX)&lt;/P&gt;&lt;P&gt;- Segmentador (Filtro desplegable) del campo "Fecha" de la tabla calendario.&lt;/P&gt;&lt;P&gt;- Segmentador (Filtro desplegable) con el número de registros que quiero visualizar ( 1,2,3... 15)&lt;/P&gt;&lt;P&gt;- Tabla de valores con fechas, nº de semana e importes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Necesito que al seleccionar una fecha, me tome su valor y le descuente tantas semanas como número aparezca en el segmentador, por ejemplo...&amp;nbsp; Fecha Seleccionada: 28/01/2021&amp;nbsp; Nº de Registros: 2 --&amp;gt; Fecha resultante: 14/01/2021&lt;BR /&gt;&lt;BR /&gt;Una vez tengo esa fecha resultante, necesito filtrar la tabla de valores para que muestre sólo aquellos registros comprendidos entre la Fecha resultante y la Fecha Selecciona, por ejemplo ...&amp;nbsp; 14/01/2021, 15/01/2021, 16/01/2021 ... 28/01/2021.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Me puedes explicar cómo podría aplicar estos cálculos y filtros desde los segmentadores ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Les agradezco de antemano su ayuda. Mil gracias a todos.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 14:07:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Crear-tabla-calculada-con-valores-calculados-a-partir-del-valor/m-p/1629200#M32986</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-28T14:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Crear tabla calculada con valores calculados a partir del valor seleccionado en una visualización.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Crear-tabla-calculada-con-valores-calculados-a-partir-del-valor/m-p/1633526#M33133</link>
      <description>&lt;P&gt;If your calendar table is linked to your data model (as it should be) then your approach will not work. You need to create a separate table with dates and use that new table for the date slicer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then you can use the SELECTEDVALUE() function for both the Date slicer and the week count slicer to compute your measure.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2021 23:02:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Crear-tabla-calculada-con-valores-calculados-a-partir-del-valor/m-p/1633526#M33133</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2021-01-30T23:02:01Z</dc:date>
    </item>
  </channel>
</rss>

