<?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 Comparing and Visualizing Data Selections Across Two Tables in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-and-Visualizing-Data-Selections-Across-Two-Tables/m-p/3245275#M157220</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I need some help from the community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 tables in my model, 1 MainTable, 1 AuxTable (a copy of the main one) and a bridge table to link the two.&lt;/P&gt;&lt;P&gt;I attached the link at the end of the post for the PBIX file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Model:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need to do is compare the values selected in the slicer of my AuxTable (multiple selection) with the value selected from my MainTable (single selection).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the visual below that is already bringing the result of my slicer from the AuxTable. However, the average line (currently a constant line, I would like it to vary also according to the OXG field) so that I can compare the result of my aux selection with the single result of my main table slicer. I tried to use it in the secondary axis, but once I am using legend in my chart, I am not able to achieve this result and I need help from the community.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have a bar chart, which is being filtered by my AuxTable slicer, but I would like the selection of my MainTable slicer to also appear on the chart. Is there a way to do this?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thank everyone in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link to PBIX file:&amp;nbsp;&lt;A href="https://vfanalytics-my.sharepoint.com/:u:/p/vinicius_faria/EWBSVCzTJK5Bk4OwPeSDdaMBU7z175xgsfLWwuF0AVpRFg?e=5HXrEq" target="_self"&gt;Here&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 20 May 2023 09:10:57 GMT</pubDate>
    <dc:creator>lcfaria</dc:creator>
    <dc:date>2023-05-20T09:10:57Z</dc:date>
    <item>
      <title>Comparing and Visualizing Data Selections Across Two Tables</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-and-Visualizing-Data-Selections-Across-Two-Tables/m-p/3245275#M157220</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I need some help from the community.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 3 tables in my model, 1 MainTable, 1 AuxTable (a copy of the main one) and a bridge table to link the two.&lt;/P&gt;&lt;P&gt;I attached the link at the end of the post for the PBIX file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Model:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I need to do is compare the values selected in the slicer of my AuxTable (multiple selection) with the value selected from my MainTable (single selection).&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the visual below that is already bringing the result of my slicer from the AuxTable. However, the average line (currently a constant line, I would like it to vary also according to the OXG field) so that I can compare the result of my aux selection with the single result of my main table slicer. I tried to use it in the secondary axis, but once I am using legend in my chart, I am not able to achieve this result and I need help from the community.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have a bar chart, which is being filtered by my AuxTable slicer, but I would like the selection of my MainTable slicer to also appear on the chart. Is there a way to do this?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I thank everyone in advance for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Link to PBIX file:&amp;nbsp;&lt;A href="https://vfanalytics-my.sharepoint.com/:u:/p/vinicius_faria/EWBSVCzTJK5Bk4OwPeSDdaMBU7z175xgsfLWwuF0AVpRFg?e=5HXrEq" target="_self"&gt;Here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 09:10:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Comparing-and-Visualizing-Data-Selections-Across-Two-Tables/m-p/3245275#M157220</guid>
      <dc:creator>lcfaria</dc:creator>
      <dc:date>2023-05-20T09:10:57Z</dc:date>
    </item>
  </channel>
</rss>

