<?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 Dynamic Dimensions/Legends based on Slicer in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Dimensions-Legends-based-on-Slicer/m-p/3227027#M157184</link>
    <description>&lt;P&gt;So as far as I can tell there is no way to make a calculated column that "changes/updates" based on slicer selection.&lt;/P&gt;&lt;P&gt;Is there a way to get a similar experience with some hacks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the user is ment to pick a date range and for that date range it will calculate the "Days of Inventory Left", based on the sales in that period. I want to group the days of inventory left into clusters, e.g. 0-25 days, 25-50 days etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i do this on a calculated column, there will be no context of the slicer filter (the days they select), and it will calcualte for every day of sales.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i do the grouping in a measure with a switch or so, I can't use it as a legend on certain visuals where i need it to act like a dimension.&lt;/P&gt;&lt;P&gt;Is there a way to get the legend/dimension to be calculated dynamically? (Performance not an issue)&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 May 2023 12:50:00 GMT</pubDate>
    <dc:creator>AlexaderMilland</dc:creator>
    <dc:date>2023-05-09T12:50:00Z</dc:date>
    <item>
      <title>Dynamic Dimensions/Legends based on Slicer</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Dimensions-Legends-based-on-Slicer/m-p/3227027#M157184</link>
      <description>&lt;P&gt;So as far as I can tell there is no way to make a calculated column that "changes/updates" based on slicer selection.&lt;/P&gt;&lt;P&gt;Is there a way to get a similar experience with some hacks?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the user is ment to pick a date range and for that date range it will calculate the "Days of Inventory Left", based on the sales in that period. I want to group the days of inventory left into clusters, e.g. 0-25 days, 25-50 days etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i do this on a calculated column, there will be no context of the slicer filter (the days they select), and it will calcualte for every day of sales.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If i do the grouping in a measure with a switch or so, I can't use it as a legend on certain visuals where i need it to act like a dimension.&lt;/P&gt;&lt;P&gt;Is there a way to get the legend/dimension to be calculated dynamically? (Performance not an issue)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 12:50:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Dynamic-Dimensions-Legends-based-on-Slicer/m-p/3227027#M157184</guid>
      <dc:creator>AlexaderMilland</dc:creator>
      <dc:date>2023-05-09T12:50:00Z</dc:date>
    </item>
  </channel>
</rss>

