<?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: Using what-if parameter at row-level in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-what-if-parameter-at-row-level/m-p/1549948#M30655</link>
    <description>&lt;P&gt;Can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).&lt;/P&gt;
&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Column1&lt;/TD&gt;
&lt;TD&gt;Column2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;2.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;For this to be dynamic you will need to use a measure, iterator functions can calculate per row before aggregation, so it should be achievable - I should be able to give an example if you share your model&lt;/P&gt;</description>
    <pubDate>Mon, 14 Dec 2020 22:38:55 GMT</pubDate>
    <dc:creator>Stachu</dc:creator>
    <dc:date>2020-12-14T22:38:55Z</dc:date>
    <item>
      <title>Using what-if parameter at row-level</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-what-if-parameter-at-row-level/m-p/1542425#M30390</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am fairly new to Power-BI (previous Tableau and Qlik user), I wanted to do something that I thought was basic but I can't figure it out.&lt;/P&gt;&lt;P&gt;-I have a table with in which each row has an integer (let's say sales value). I want to categorize each line based on a parameter value, to define if they are over or under this value.&lt;/P&gt;&lt;P&gt;I created a column comparing the parameter but its content does not change when the parameter value is changed (I read that column are not recalculated during runtime). How can I make it work and have dynamic column but at row level (not aggregated measure) as I need this as a dimension in chart and to filter my data.&lt;/P&gt;&lt;P&gt;I made a dummy example below to synthetize my issue, any help would be appreciated !&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 07:27:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-what-if-parameter-at-row-level/m-p/1542425#M30390</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-10T07:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using what-if parameter at row-level</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-what-if-parameter-at-row-level/m-p/1549948#M30655</link>
      <description>&lt;P&gt;Can you add sample tables (in format that can be copied to PowerBI) from your model with anonymised data? Like this (just copy and paste into the post window).&lt;/P&gt;
&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Column1&lt;/TD&gt;
&lt;TD&gt;Column2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;A&lt;/TD&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;B&lt;/TD&gt;
&lt;TD&gt;2.5&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;For this to be dynamic you will need to use a measure, iterator functions can calculate per row before aggregation, so it should be achievable - I should be able to give an example if you share your model&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2020 22:38:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-what-if-parameter-at-row-level/m-p/1549948#M30655</guid>
      <dc:creator>Stachu</dc:creator>
      <dc:date>2020-12-14T22:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using what-if parameter at row-level</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-what-if-parameter-at-row-level/m-p/1550696#M30672</link>
      <description>&lt;P&gt;Hi, sure, my actual use case can be sumed up with this sample data, then I can extrapolate :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Order;value&lt;/P&gt;&lt;P&gt;Order1;23&lt;/P&gt;&lt;P&gt;Order2;45&lt;/P&gt;&lt;P&gt;Order3;12&lt;/P&gt;&lt;P&gt;Order4;34&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(sorry, the forum does not let me use tables for some reason, I get an "&lt;SPAN&gt;invalid HTML" error)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I also created a simple measure:&lt;/P&gt;&lt;P&gt;Orders = count('Table'[Order])&lt;BR /&gt;And a parameter :&lt;BR /&gt;Anomaly threeshold = GENERATESERIES(0, 50, 1)&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;I managed to do this in a table by using a measure :&lt;BR /&gt;Profitable order? = SELECTEDVALUE('Table'[Sales value])&amp;gt;'Anomaly threeshold'[Anomaly threeshold Value]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I would also be able to uses this as a column for these use cases&lt;/P&gt;&lt;P&gt;-Use as a filter (ex: show a table with only the orders below/above this dynamically set value)&lt;/P&gt;&lt;P&gt;-Use as a color legend in a pie or bar chart with the repartition of my orders (below or above this value)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am not sure this is doable.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 08:55:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Using-what-if-parameter-at-row-level/m-p/1550696#M30672</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-15T08:55:25Z</dc:date>
    </item>
  </channel>
</rss>

