<?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: Calculating N of visits for each caller in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2514955#M69894</link>
    <description>&lt;P&gt;"&lt;SPAN&gt;Bridge tables are dimensional tables needed to address the many to many relationships between facts and dimensions &lt;STRONG&gt;OR&lt;/STRONG&gt; dimensions and multi-valued attributes you may come across when modeling your star schema."&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 14 May 2022 09:51:17 GMT</pubDate>
    <dc:creator>daXtreme</dc:creator>
    <dc:date>2022-05-14T09:51:17Z</dc:date>
    <item>
      <title>Calculating N of visits for each caller</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2511039#M69649</link>
      <description>&lt;P&gt;Hi everyone. Been struggling for a long time with the following task.&lt;/P&gt;&lt;P&gt;I have two fact tables:&lt;/P&gt;&lt;P&gt;1. factLeads, containing data for incoming calls and lead source. Some of the callers are our existing clients.&lt;/P&gt;&lt;P&gt;2. factVisits, containing data for actual visits to our clinic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have a bridge table that stores associations with phone numbers and client IDs. One client can have many phone numbers and one phone number can belong to many clients.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I need to measure, for each call, the number of visits conducted during the next 30 days after the call.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I can see it, the solution is based on the following steps:&lt;/P&gt;&lt;P&gt;1. For any given time period get the list of phone number&lt;/P&gt;&lt;P&gt;2. Get the client IDs from bridge table who have these phone numbers associated with them.&lt;/P&gt;&lt;P&gt;3. Filter the factVisits table with those client IDs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://emcclinic-my.sharepoint.com/:u:/g/personal/razmochaev_emcclinic_onmicrosoft_com/EbtQx-xuQD9GshnbMI1kIqYBUOlIX64vCdIqnE7r95GiPA?e=fmiOzU" target="_self"&gt;Here's a sample file&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be very grateful for any suggestions.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 07:21:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2511039#M69649</guid>
      <dc:creator>razmochaev</dc:creator>
      <dc:date>2022-05-16T07:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating N of visits for each caller</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2514699#M69879</link>
      <description>&lt;P&gt;That's not a bridge table, that is a dimension - in this case the phone number. Bridge tables would have arrows in two directions, at least on one side.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try combining the dimLeadsPhones and dimClients tables.&lt;/P&gt;</description>
      <pubDate>Sat, 14 May 2022 02:22:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2514699#M69879</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-05-14T02:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating N of visits for each caller</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2514955#M69894</link>
      <description>&lt;P&gt;"&lt;SPAN&gt;Bridge tables are dimensional tables needed to address the many to many relationships between facts and dimensions &lt;STRONG&gt;OR&lt;/STRONG&gt; dimensions and multi-valued attributes you may come across when modeling your star schema."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 May 2022 09:51:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2514955#M69894</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-05-14T09:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating N of visits for each caller</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2515017#M69902</link>
      <description>&lt;P&gt;That is an insufficient definition. A bridge allows the flow of something ( in this case filters) in one or both directions. In your data model no filter flow is possible in either direction.&lt;/P&gt;</description>
      <pubDate>Sat, 14 May 2022 12:06:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2515017#M69902</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2022-05-14T12:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating N of visits for each caller</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2515640#M69947</link>
      <description>&lt;P&gt;Simply put, &lt;STRONG&gt;a bridge table is any table that relates one entity to another in order to define the many-to-many relationship between the entities&lt;/STRONG&gt;. This is the most general definition of a bridge table. It has nothing to do with any filters, any models, any directions and so on. Such a bridge table will have at least 2 columns in which the keys to the said entities will be placed.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And therefore the table that&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="26488" data-lia-user-login="razmochaev" class="lia-mention lia-mention-user"&gt;razmochaev&lt;/a&gt;&amp;nbsp;calls "a bridge table" is indeed a correctly defined bridge table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://idswater.com/2019/11/15/what-is-a-bridge-table-in-data-warehouse/#What_is_a_bridge_table_in_data_warehouse" target="_blank"&gt;What is a bridge table in data warehouse? – idswater.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 May 2022 11:44:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2515640#M69947</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-05-15T11:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating N of visits for each caller</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2516696#M70013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for bad quality screenshot of the data model, I've replaced it with a better one, clearly showing that bridgeClientsPhones is a bridge table connecting dimClients and dimLeadsPhones, as a client can have many phone numbers and a phone number can be attributed to many clients in our database.&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 07:25:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2516696#M70013</guid>
      <dc:creator>razmochaev</dc:creator>
      <dc:date>2022-05-16T07:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating N of visits for each caller</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2519367#M70153</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="26488" data-lia-user-login="razmochaev" class="lia-mention lia-mention-user"&gt;razmochaev&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you provide simple PBIX files instead of Excel files? What do you expect the output to look like and can you show it with pictures?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 05:46:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Calculating-N-of-visits-for-each-caller/m-p/2519367#M70153</guid>
      <dc:creator>v-zhangti</dc:creator>
      <dc:date>2022-05-17T05:46:38Z</dc:date>
    </item>
  </channel>
</rss>

