<?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: Script to add column based on historical data in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Script-to-add-column-based-on-historical-data/m-p/2202823#M33076</link>
    <description>&lt;P&gt;See if dynamic commentary in Power BI can meet your needs:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://zebrabi.com/dynamic-commentary-power-bi/" target="_self" rel="nofollow noopener noreferrer"&gt;https://zebrabi.com/dynamic-commentary-power-bi/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.enterprisedna.co/adding-commentary-to-your-reports-in-a-dynamic-way/" target="_self" rel="nofollow noopener noreferrer"&gt;https://blog.enterprisedna.co/adding-commentary-to-your-reports-in-a-dynamic-way/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Nov 2021 05:15:56 GMT</pubDate>
    <dc:creator>V-lianl-msft</dc:creator>
    <dc:date>2021-11-23T05:15:56Z</dc:date>
    <item>
      <title>Script to add column based on historical data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Script-to-add-column-based-on-historical-data/m-p/2195196#M32968</link>
      <description>&lt;DIV class="lia-message-subject lia-component-message-view-widget-subject"&gt;&lt;DIV class="MessageSubject"&gt;&lt;DIV class="lia-message-subject"&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;I've been trying to add automatic column with py script, but without a success. So the idea is to lets say i have a table like below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Default Table" style="width: 185px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/632866i264A2679655BF178/image-size/large?v=v2&amp;amp;px=999" role="button" title="regular_table.png" alt="Default Table" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Default Table&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And the idea is to create a additional column which tells us a current situation of A or B value over time, so basically something like this: ( let's say that 7-th month data is updated)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Table with new column" style="width: 921px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/632865i49F0AC0D28BAF25E/image-size/large?v=v2&amp;amp;px=999" role="button" title="table_new_col.png" alt="Table with new column" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Table with new column&lt;/span&gt;&lt;/span&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;&lt;P&gt;Did anyone took similar approach to something like above?&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;Looking for a suggestions &amp;amp; approach ideas or some solutions to problem above.&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;A &amp;amp; B columns could also be like A (as value) and B as value category.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!!&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 17 Nov 2021 19:53:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Script-to-add-column-based-on-historical-data/m-p/2195196#M32968</guid>
      <dc:creator>hejszyszky</dc:creator>
      <dc:date>2021-11-17T19:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Script to add column based on historical data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Script-to-add-column-based-on-historical-data/m-p/2195258#M32970</link>
      <description>&lt;P&gt;You&amp;nbsp;&lt;EM&gt;could&lt;/EM&gt; do something like this with a measure incorporating a bunch of if/then logic specifying what you want to say in any conceivable situation but that seems pretty painful to write and not nearly as useful as showing a visual instead.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 20:44:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Script-to-add-column-based-on-historical-data/m-p/2195258#M32970</guid>
      <dc:creator>AlexisOlson</dc:creator>
      <dc:date>2021-11-17T20:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Script to add column based on historical data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Script-to-add-column-based-on-historical-data/m-p/2195288#M32972</link>
      <description>&lt;P&gt;Obviously, but in my case there is a need to have tooltip/comments in addition to graph. My idea was to loop through dates and output value progression over time but as mentioned above - ended up without success.&lt;BR /&gt;Nested ifs are painful - i agree, but i consider it as last resort.&lt;BR /&gt;Thanks for your reply!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2021 21:13:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Script-to-add-column-based-on-historical-data/m-p/2195288#M32972</guid>
      <dc:creator>hejszyszky</dc:creator>
      <dc:date>2021-11-17T21:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Script to add column based on historical data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Script-to-add-column-based-on-historical-data/m-p/2202823#M33076</link>
      <description>&lt;P&gt;See if dynamic commentary in Power BI can meet your needs:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://zebrabi.com/dynamic-commentary-power-bi/" target="_self" rel="nofollow noopener noreferrer"&gt;https://zebrabi.com/dynamic-commentary-power-bi/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.enterprisedna.co/adding-commentary-to-your-reports-in-a-dynamic-way/" target="_self" rel="nofollow noopener noreferrer"&gt;https://blog.enterprisedna.co/adding-commentary-to-your-reports-in-a-dynamic-way/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 05:15:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Script-to-add-column-based-on-historical-data/m-p/2202823#M33076</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-11-23T05:15:56Z</dc:date>
    </item>
  </channel>
</rss>

