<?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: Access calculated table in multiple reports in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1206283#M24623</link>
    <description>&lt;P&gt;wait for the release of the composite data model where you can mix import, direct query and live connections ad libitum.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jul 2020 11:41:14 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2020-07-07T11:41:14Z</dc:date>
    <item>
      <title>Access calculated table in multiple reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1195268#M24485</link>
      <description>&lt;P&gt;Hi People,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently I'm struggling with the problem of repeating calculated tables in multiple reports.&lt;/P&gt;&lt;P&gt;I have used a few datasets from a SQL sever and Excel files to calculate the final dataset, which is used for the visualisations in different reports.&lt;/P&gt;&lt;P&gt;So dataset A + dataset B + dataset C are used to calculate the final dataset D and the final dataset D is necessary to make some visualisations in different reports.&lt;/P&gt;&lt;P&gt;The final dataset D is calculated with DAX / calculated tables.&lt;/P&gt;&lt;P&gt;However, I have to copy those dataset scripts and the calculated table inclusive the DAX measures for every report. This is a very time consuming process and results in a high risk for errors.&lt;/P&gt;&lt;P&gt;Does somebody know an altenative to calculate the final dataset D only once and access that dataset in multiple reports?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 14:04:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1195268#M24485</guid>
      <dc:creator>jhaast</dc:creator>
      <dc:date>2020-07-01T14:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: Access calculated table in multiple reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1196029#M24510</link>
      <description>&lt;P&gt;Let's make sure the terminology is clear here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A .pbix file is a collection of queries that point to data sources.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Together with the data model these queries combine into a dataset that you load into the workspace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you can do at this moment is share the dataset , both to reports &lt;STRONG&gt;inside&lt;/STRONG&gt; the workspace/app, but also to reports in &lt;STRONG&gt;other&lt;/STRONG&gt; workspaces. (assuming workspaces are "new", v2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This gives &lt;STRONG&gt;you&lt;/STRONG&gt; control over data acquisition, ETL, and the data model, and gives &lt;STRONG&gt;the subscribers to the shared dataset&lt;/STRONG&gt; the flexibility to create their own visualizations, all off the same common dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next step is to promote and certify the dataset so more developers know about it or are forced to use it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next step is to use an actual data modeling tool (like CDM) to ensure cross-company consistency.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, I know, wishful thinking. One can but dream.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jul 2020 20:35:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1196029#M24510</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-01T20:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Access calculated table in multiple reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1197069#M24517</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/175524"&gt;@jhaast&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Did these datasets has similar data structure? If this is a case, you can parameterize your connection string and save it as template.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Then you can change the connection string to use template generate the different reports with similar DAX formulas.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://powerbi.microsoft.com/en-us/blog/deep-dive-into-query-parameters-and-power-bi-templates/" target="_self"&gt;Deep Dive into Query Parameters and Power BI Templates&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://www.biinsight.com/power-bi-desktop-query-parameters-part-1/" target="_self"&gt;Power BI Desktop Query Parameters, Part 1&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jul 2020 07:37:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1197069#M24517</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-02T07:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Access calculated table in multiple reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1197802#M24526</link>
      <description>&lt;P&gt;Thank you for your responses.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will give additional explanation of the problem with an example:&lt;/P&gt;&lt;P&gt;Note: all tables are imported in PBI desktop and afterwards the report is published to the PBI webservice.&lt;/P&gt;&lt;P&gt;The purpose of this report is to define which bonus you can expect from a vendor at the end of a year.&lt;/P&gt;&lt;P&gt;Table 1 (based on a SQL script)&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Vendor&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Date&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Turnover&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;vendor A&lt;/TD&gt;&lt;TD&gt;1-1-2020&lt;/TD&gt;&lt;TD&gt;€10000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Vendor B&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1-2-2020&lt;/TD&gt;&lt;TD&gt;€5000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Vendor A&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1-2-2020&lt;/TD&gt;&lt;TD&gt;€5000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;vendor A&lt;/TD&gt;&lt;TD&gt;1-3-2020&lt;/TD&gt;&lt;TD&gt;€10000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Vendor B&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1-4-2020&lt;/TD&gt;&lt;TD&gt;€5000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Vendor A&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;1-3-2020&lt;/TD&gt;&lt;TD&gt;€7500&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Table 2 (Excel file):&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Vendor&amp;nbsp;&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Zone 1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Zone 2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Zone 3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Result zone 1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Result zone 2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Result zone 3&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;vendor A&lt;/TD&gt;&lt;TD&gt;€10000&lt;/TD&gt;&lt;TD&gt;€20000&lt;/TD&gt;&lt;TD&gt;€40000&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;5%&lt;/TD&gt;&lt;TD&gt;7,50%&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Vendor B&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;€20000&lt;/TD&gt;&lt;TD&gt;€50000&lt;/TD&gt;&lt;TD&gt;€70000&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;10%&lt;/TD&gt;&lt;TD&gt;11,50%&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calculatedtable1 (calculated table, which is created after the import of table 1 and 2 / after the query editor):&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Vendor&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Turnover&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Bonus&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Vendor A&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;€&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32.500&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;€&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.438&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Vendor B&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;€&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.000&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;€&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This table is created based on the following script:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CalculateTable1 = SUMMARIZE(Tabel1;Tabel1[Vendor];"Turnover";CALCULATE(sum(Tabel1[Turnover])))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The bonus column is a calculated column based on the following script:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Bonus = SWITCH(TRUE();&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CalculateTable1[Turnover] &amp;lt; LOOKUPVALUE(Tabel2[Zone 1];Tabel2[Vendor];CalculateTable1[Vendor]);CalculateTable1[Turnover] * LOOKUPVALUE(Tabel2[Result zone 1];Tabel2[Vendor];CalculateTable1[Vendor]);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CalculateTable1[Turnover] &amp;lt; LOOKUPVALUE(Tabel2[Zone 2];Tabel2[Vendor];CalculateTable1[Vendor]);CalculateTable1[Turnover] * LOOKUPVALUE(Tabel2[Result zone 2];Tabel2[Vendor];CalculateTable1[Vendor]);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CalculateTable1[Turnover] &amp;lt; LOOKUPVALUE(Tabel2[Zone 3];Tabel2[Vendor];CalculateTable1[Vendor]);CalculateTable1[Turnover] * LOOKUPVALUE(Tabel2[Result zone 3];Tabel2[Vendor];CalculateTable1[Vendor]))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is the simple version of the real calculated table.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So the problem is, for every report I have to repeat the import process of the SQL script and the Excel file and afterwards I have to recreate the calculated table and the calculated columns.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Is it possible to share the calculated table or the complete import process with other reports? And is it possible to also add other datasets to that second report?&lt;/DIV&gt;&lt;DIV&gt;I have tried the option "Power BI-datasets" in Power BI Desktop, but it is not possible to add additional datasources in the report.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 02 Jul 2020 11:16:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1197802#M24526</guid>
      <dc:creator>jhaast</dc:creator>
      <dc:date>2020-07-02T11:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Access calculated table in multiple reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1205368#M24608</link>
      <description>&lt;P&gt;Does somebody else know a solution?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 06:10:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1205368#M24608</guid>
      <dc:creator>jhaast</dc:creator>
      <dc:date>2020-07-07T06:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Access calculated table in multiple reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1206283#M24623</link>
      <description>&lt;P&gt;wait for the release of the composite data model where you can mix import, direct query and live connections ad libitum.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 11:41:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1206283#M24623</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2020-07-07T11:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Access calculated table in multiple reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1206363#M24625</link>
      <description>&lt;P&gt;Do you know when the composite data model will be released?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 12:15:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Access-calculated-table-in-multiple-reports/m-p/1206363#M24625</guid>
      <dc:creator>jhaast</dc:creator>
      <dc:date>2020-07-07T12:15:06Z</dc:date>
    </item>
  </channel>
</rss>

