<?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: Weighted % of funding calculation in Building Power Apps</title>
    <link>https://powerusers.microsoft.com/t5/Building-Power-Apps/Weighted-of-funding-calculation/m-p/898001#M285013</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="257156"&gt;&lt;/LI-USER&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;Could you tell me if this can meet your needs?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="41.gif" style="width: 303px;"&gt;&lt;img src="https://powerusers.microsoft.com/t5/image/serverpage/image-id/248000i59BB8D55A488B5FB/image-dimensions/303x315?v=v2" width="303" height="315" role="button" title="41.gif" alt="41.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If so,I've made a test for your reference:&lt;/P&gt;
&lt;P&gt;I assume there is a table-TheDateBase&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ClearCollect(
 TheDateBase,
 {Project:"Project 1",Found:"BU1",Static:20%},
 {Project:"Project 1",Found:"BU2",Static:80%},
 {Project:"Project 2",Found:"BU3",Static:100%}
)&lt;/LI-CODE&gt;
&lt;P&gt;1\Add a gallery(Gallery6) and set it's&amp;nbsp;Items property to:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table({Split:"Project 1"},{Split:"Project 2"})&lt;/LI-CODE&gt;
&lt;P&gt;2\Add a TextInput(TextInput1) control in to Gallery 6&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3\Add an Other Gallery(Gallery7) and set it's&amp;nbsp;Items property to:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Distinct(TheDateBase,Found)&lt;/LI-CODE&gt;
&lt;P&gt;4\Add a label control into Gallery7 and set it's Text property to:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum(
    ForAll(
        Gallery6.AllItems As GalleryAllItem,
        LookUp(
            TheDateBase,
            Project = GalleryAllItem[@Split] &amp;amp;&amp;amp; Found = ThisItem.Result
        ).Static * GalleryAllItem[@TextInput1].Text
    ),
    Value
)&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Bof&lt;/P&gt;</description>
    <pubDate>Wed, 21 Apr 2021 02:49:21 GMT</pubDate>
    <dc:creator>v-bofeng-msft</dc:creator>
    <dc:date>2021-04-21T02:49:21Z</dc:date>
    <item>
      <title>Weighted % of funding calculation</title>
      <link>https://powerusers.microsoft.com/t5/Building-Power-Apps/Weighted-of-funding-calculation/m-p/897370#M284816</link>
      <description>&lt;P&gt;I am trying to get to a weighted % of funding based on multiple criteria, business unit % funding of a project (static, pulling in from a data source), and % of time a person will spend on a project (changes from person to person, text in put). I currently have these set up as gallery's as the number of projects a person works on can change. The projects are selected from a combo box, the gallery then pulls in the project names and has a text input that I want to put in the persons % allocation for that project. I want these numbers to feed into another gallery that shows % of business unit funding based on the % the BU funds and the % of the persons time on the project. Currently it is just weighting based on what input box I have selected and not multiplying by the corresponding project. Any help is appreciated. Below is an example of what I'm looking to achieve.&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="cmilligan262_0-1618931952470.png" style="width: 400px;"&gt;&lt;img src="https://powerusers.microsoft.com/t5/image/serverpage/image-id/247778i2AED2656710E3AC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cmilligan262_0-1618931952470.png" alt="cmilligan262_0-1618931952470.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Apr 2021 15:19:56 GMT</pubDate>
      <guid>https://powerusers.microsoft.com/t5/Building-Power-Apps/Weighted-of-funding-calculation/m-p/897370#M284816</guid>
      <dc:creator>cmilligan262</dc:creator>
      <dc:date>2021-04-20T15:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Weighted % of funding calculation</title>
      <link>https://powerusers.microsoft.com/t5/Building-Power-Apps/Weighted-of-funding-calculation/m-p/898001#M285013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;LI-USER uid="257156"&gt;&lt;/LI-USER&gt;&amp;nbsp;:&lt;/P&gt;
&lt;P&gt;Could you tell me if this can meet your needs?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="41.gif" style="width: 303px;"&gt;&lt;img src="https://powerusers.microsoft.com/t5/image/serverpage/image-id/248000i59BB8D55A488B5FB/image-dimensions/303x315?v=v2" width="303" height="315" role="button" title="41.gif" alt="41.gif" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If so,I've made a test for your reference:&lt;/P&gt;
&lt;P&gt;I assume there is a table-TheDateBase&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ClearCollect(
 TheDateBase,
 {Project:"Project 1",Found:"BU1",Static:20%},
 {Project:"Project 1",Found:"BU2",Static:80%},
 {Project:"Project 2",Found:"BU3",Static:100%}
)&lt;/LI-CODE&gt;
&lt;P&gt;1\Add a gallery(Gallery6) and set it's&amp;nbsp;Items property to:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Table({Split:"Project 1"},{Split:"Project 2"})&lt;/LI-CODE&gt;
&lt;P&gt;2\Add a TextInput(TextInput1) control in to Gallery 6&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3\Add an Other Gallery(Gallery7) and set it's&amp;nbsp;Items property to:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Distinct(TheDateBase,Found)&lt;/LI-CODE&gt;
&lt;P&gt;4\Add a label control into Gallery7 and set it's Text property to:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sum(
    ForAll(
        Gallery6.AllItems As GalleryAllItem,
        LookUp(
            TheDateBase,
            Project = GalleryAllItem[@Split] &amp;amp;&amp;amp; Found = ThisItem.Result
        ).Static * GalleryAllItem[@TextInput1].Text
    ),
    Value
)&lt;/LI-CODE&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Bof&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 02:49:21 GMT</pubDate>
      <guid>https://powerusers.microsoft.com/t5/Building-Power-Apps/Weighted-of-funding-calculation/m-p/898001#M285013</guid>
      <dc:creator>v-bofeng-msft</dc:creator>
      <dc:date>2021-04-21T02:49:21Z</dc:date>
    </item>
  </channel>
</rss>

