<?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: Finding how often a value appears in in a month compared to total submissions in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-how-often-a-value-appears-in-in-a-month-compared-to/m-p/2983317#M100049</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;In order have dynamic Total Number of Sessions by Month to calculate the % of Sessions then you will need first to store Total Number of sessions by month in new Table with DAX as below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Total Sessions in Each Month = GROUPBY('New Summary', 'New Summary'[Sessions_Month], "Total Monthly Sessions", SUMX(CURRENTGROUP(), 'New Summary'[Total Sessions]))&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Then within New Summary table, update the DAX for “% Sessions” column as below:&lt;/P&gt;&lt;P&gt;% Sessions = 'New Summary'[Total Sessions] / LOOKUPVALUE('Total Sessions in Each Month'[Total Monthly Sessions], 'Total Sessions in Each Month'[New Summary_Sessions_Month], 'New Summary'[Sessions_Month])&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;Inogic Professional Services&lt;/P&gt;&lt;P&gt;An expert technical extension for your techno-functional business needs&lt;/P&gt;&lt;P&gt;Power Platform/Dynamics 365 CRM&lt;/P&gt;&lt;P&gt;Drop an email at &lt;A href="mailto:crm@inogic.com" target="_blank"&gt;crm@inogic.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Service:&amp;nbsp; &lt;A href="http://www.inogic.com/services/" target="_blank"&gt;http://www.inogic.com/services/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Power Platform/Dynamics 365 CRM Tips and Tricks:&amp;nbsp; &lt;A href="http://www.inogic.com/blog/" target="_blank"&gt;http://www.inogic.com/blog/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Dec 2022 04:20:14 GMT</pubDate>
    <dc:creator>SamInogic</dc:creator>
    <dc:date>2022-12-22T04:20:14Z</dc:date>
    <item>
      <title>Finding how often a value appears in in a month compared to total submissions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-how-often-a-value-appears-in-in-a-month-compared-to/m-p/2980113#M99887</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new to Power BI and writing DAX commands and I'm having trouble finding an answer to this on here,&amp;nbsp;I'm trying to figure out a formula for showing the percentage of monthly submissions that discuss a specific topic. Here's what happens:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Managers file submissions for each meeting with a teammate&lt;/LI&gt;&lt;LI&gt;Each submission records the different topics discussed (7 different topics total, selection can include multiple topics)&lt;/LI&gt;&lt;LI&gt;Each month, I want to look at the number of times a topic was discussed compared to the overall submissions that month&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I want to make a line chart showing the monthly % for each topic, and not 100% stacked as the totals will equal more than 100%. E.g. in November, 5/10 sessions discussed Topic 1 (50%) and 8/10 sessions discussed Topic 2 (80%), so I want a line chart showing the monthly values of each topic. And there will be slicers for the topics, so the chart should update based on slicer selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example of what the data looks like, I'm having trouble creating that final column&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Session ID&lt;/TD&gt;&lt;TD&gt;Date&lt;/TD&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;/TD&gt;&lt;TD&gt;Total Sessions Discussed&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Nov&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;Topic A&lt;/TD&gt;&lt;TD&gt;85%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Nov&lt;/TD&gt;&lt;TD&gt;Topic B&lt;/TD&gt;&lt;TD&gt;60%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Nov&lt;/TD&gt;&lt;TD&gt;Topic C&lt;/TD&gt;&lt;TD&gt;10%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Dec&lt;/TD&gt;&lt;TD&gt;Topic A&lt;/TD&gt;&lt;TD&gt;90%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Dec&lt;/TD&gt;&lt;TD&gt;Topic B&lt;/TD&gt;&lt;TD&gt;75%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Dec&lt;/TD&gt;&lt;TD&gt;Topic C&lt;/TD&gt;&lt;TD&gt;5%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Tue, 20 Dec 2022 21:48:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-how-often-a-value-appears-in-in-a-month-compared-to/m-p/2980113#M99887</guid>
      <dc:creator>mcash1</dc:creator>
      <dc:date>2022-12-20T21:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Finding how often a value appears in in a month compared to total submissions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-how-often-a-value-appears-in-in-a-month-compared-to/m-p/2980674#M99913</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have go through your requirement and it seems that you want to calculate the Sessions in Percentage categorized by Month and Topics. Therefore, you can try below mentioned steps to achieve the same.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Create a new table with Grouping the data based on Topic and Month columns as shown in below,&lt;BR /&gt;&lt;BR /&gt;New Summary = GROUPBY(Sessions, Sessions[Month], Sessions[Topic],"Total Sessions", COUNTAX(CURRENTGROUP(), Sessions[Session ID]))&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Now you can create a column to calculate the Percentage of Total Sessions with below DAX expression and change the Format of the Column as Percentage.&lt;BR /&gt;&lt;BR /&gt;% Sessions = 'New Summary'[Total Sessions] / 10&lt;BR /&gt;&lt;BR /&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;If this answer helps, please mark it as Accepted Solution so it would help others to find the solution.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Inogic Professional Services&lt;/P&gt;&lt;P&gt;An expert technical extension for your techno-functional business needs&lt;/P&gt;&lt;P&gt;Power Platform/Dynamics 365 CRM&lt;/P&gt;&lt;P&gt;Drop an email at &lt;A href="mailto:crm@inogic.com" target="_blank"&gt;crm@inogic.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Service:&amp;nbsp; &lt;A href="http://www.inogic.com/services/" target="_blank"&gt;http://www.inogic.com/services/&lt;/A&gt; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Power Platform/Dynamics 365 CRM Tips and Tricks:&amp;nbsp; &lt;A href="http://www.inogic.com/blog/" target="_blank"&gt;http://www.inogic.com/blog/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 04:32:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-how-often-a-value-appears-in-in-a-month-compared-to/m-p/2980674#M99913</guid>
      <dc:creator>SamInogic</dc:creator>
      <dc:date>2022-12-21T04:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Finding how often a value appears in in a month compared to total submissions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-how-often-a-value-appears-in-in-a-month-compared-to/m-p/2981888#M99975</link>
      <description>&lt;P&gt;Hello! Thank you so much for replying! This has been very helpful but I need a little more info.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I created the NEW SUMMARY table as stated, which works great. But the % Sessions column needs a little fixing. &lt;STRONG&gt;% Sessions = 'New Summary'[Total Sessions] / 10 &lt;/STRONG&gt;(I need the "10" to be replaced by the monthly total session.&amp;nbsp;I took a screenshot of the actual data (naming is different than my question above.)&amp;nbsp;&lt;BR /&gt;On the left, it shows the % Session using the "10" as monthly totals, but I need the totals as shown on the right table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(I filtered to show just one topic, to make it easier to see)&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the end result I'm looking for:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do I need to add another column to the NEW SUMMARY table to count the number of monthly submissions that the % Session can use to calculate the average?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 19:18:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-how-often-a-value-appears-in-in-a-month-compared-to/m-p/2981888#M99975</guid>
      <dc:creator>mcash1</dc:creator>
      <dc:date>2022-12-21T19:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Finding how often a value appears in in a month compared to total submissions</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-how-often-a-value-appears-in-in-a-month-compared-to/m-p/2983317#M100049</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi,&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;In order have dynamic Total Number of Sessions by Month to calculate the % of Sessions then you will need first to store Total Number of sessions by month in new Table with DAX as below:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Total Sessions in Each Month = GROUPBY('New Summary', 'New Summary'[Sessions_Month], "Total Monthly Sessions", SUMX(CURRENTGROUP(), 'New Summary'[Total Sessions]))&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Then within New Summary table, update the DAX for “% Sessions” column as below:&lt;/P&gt;&lt;P&gt;% Sessions = 'New Summary'[Total Sessions] / LOOKUPVALUE('Total Sessions in Each Month'[Total Monthly Sessions], 'Total Sessions in Each Month'[New Summary_Sessions_Month], 'New Summary'[Sessions_Month])&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;&lt;P&gt;Inogic Professional Services&lt;/P&gt;&lt;P&gt;An expert technical extension for your techno-functional business needs&lt;/P&gt;&lt;P&gt;Power Platform/Dynamics 365 CRM&lt;/P&gt;&lt;P&gt;Drop an email at &lt;A href="mailto:crm@inogic.com" target="_blank"&gt;crm@inogic.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Service:&amp;nbsp; &lt;A href="http://www.inogic.com/services/" target="_blank"&gt;http://www.inogic.com/services/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Power Platform/Dynamics 365 CRM Tips and Tricks:&amp;nbsp; &lt;A href="http://www.inogic.com/blog/" target="_blank"&gt;http://www.inogic.com/blog/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 04:20:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Finding-how-often-a-value-appears-in-in-a-month-compared-to/m-p/2983317#M100049</guid>
      <dc:creator>SamInogic</dc:creator>
      <dc:date>2022-12-22T04:20:14Z</dc:date>
    </item>
  </channel>
</rss>

