<?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: How to use measures in power bi report builder which was created in Power Bi dataset in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1573549#M17294</link>
    <description>&lt;P&gt;The below query is working where AnonymizedCustomerName is measure but when I add filter expression to the below query which in turn uses parameter its throwing error&lt;/P&gt;&lt;P&gt;DEFINE&lt;BR /&gt;VAR test =&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SUMMARIZECOLUMNS(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'vw_VOC_Data_Extract_Report'[BusinessLine],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'vw_VOC_Data_Extract_Report'[CUSTOMERNAME],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"AnonymizedCustomerName", 'vw_VOC_Data_Extract_Report'[AnonymizedCustomerName]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;BR /&gt;EVALUATE&lt;BR /&gt;test&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;My requirement is something like below which is actually not working&lt;BR /&gt;DEFINE&lt;BR /&gt;VAR vBusinessline = @BusinessLine&lt;BR /&gt;VAR test =&lt;BR /&gt;SUMMARIZECOLUMNS(&lt;BR /&gt;'vw_VOC_Data_Extract_Report'[BusinessLine],&lt;BR /&gt;'vw_VOC_Data_Extract_Report'[CUSTOMERNAME],&lt;BR /&gt;"AnonymizedCustomerName", 'vw_VOC_Data_Extract_Report'[AnonymizedCustomerName],&lt;BR /&gt;FILTER(VALUES ( 'vw_VOC_Data_Extract_Report'[businesslineid] ),&lt;BR /&gt;'vw_VOC_Data_Extract_Report'[businesslineid] = VALUE (vBusinessline) )&lt;BR /&gt;)&lt;BR /&gt;EVALUATE&lt;BR /&gt;test&lt;BR /&gt;&lt;BR /&gt;Request you all to please help and guide me.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Dec 2020 14:47:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-29T14:47:49Z</dc:date>
    <item>
      <title>How to use measures in power bi report builder which was created in Power Bi dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1572045#M17275</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;I have paginated report created already. As per new requirement, I need to use measures in report builder which was created in dataset pbix file.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Measure =IF(CONTAINS(employee,employee[ibm_name],USERPRINCIPALNAME(),employee[Anonymized data],"Yes"),"Anonymized",MAX(vw_Data_Extract_Report[CUSTOMERNAME]))&lt;BR /&gt;Report builder dataset properties uses below queries(not complete query as its too big but it uses variable and summarizecolumns with filter):&lt;BR /&gt;DEFINE&lt;BR /&gt;VAR vBusinessline = @BusinessLine&lt;BR /&gt;EVALUATE SUMMARIZECOLUMNS(&lt;BR /&gt;'vw_Data_Extract_Report'[CustomerName],&lt;BR /&gt;FILTER(VALUES ( 'vw_VOC_Data_Extract_Report'[businesslineid] ), 'vw_VOC_Data_Extract_Report'[businesslineid] = VALUE (vBusinessline) )&lt;BR /&gt;&lt;BR /&gt;Requirement is to replace CustomerName field with measure created in dataset.&amp;nbsp;&lt;BR /&gt;Request you all to please guide me to modify queries in report builder .&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated.&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 28 Dec 2020 12:35:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1572045#M17275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-28T12:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to use measures in power bi report builder which was created in Power Bi dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1572965#M17287</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;BR /&gt;In order to use Measure in the dataset created in Power Bi Desktop, you must first publish the pbix to Power bi Serivce, then you can open report builder login with the account that has permission of the dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once logged in, you should able to connected power bi dataset and select the dataset you want to work with. In the query designer you should able to include the measure created in the datset.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check the doc for detail:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/power-bi/paginated-reports/report-builder-shared-datasets#create-the-dataset-with-the-query" target="_blank"&gt;Create a paginated report with a Power BI shared dataset - Power BI Report Builder - Power BI | Microsoft Docs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paul Zheng _ Community Support Team&lt;BR /&gt;If this post helps, please Accept it as the solution to help the other members find it more quickly.&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;&amp;nbsp;&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;</description>
      <pubDate>Tue, 29 Dec 2020 06:13:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1572965#M17287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-29T06:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to use measures in power bi report builder which was created in Power Bi dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1572997#M17288</link>
      <description>&lt;P&gt;Thanks for your response&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;.&lt;BR /&gt;I have published the dataset and I can see measures also in query designer.&lt;BR /&gt;I have got stuck in DAX query where I need to modify existing query.&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;EVALUATE SUMMARIZECOLUMNS(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;'vw_Data_Extract_Report'[CustomerName],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FILTER(VALUES ( 'vw_VOC_Data_Extract_Report'[businesslineid] ), 'vw_VOC_Data_Extract_Report'[businesslineid] = VALUE (vBusinessline) )&lt;BR /&gt;&lt;/SPAN&gt;If I just add measures in above query , it throws me an error stating column doesn't exist.&lt;BR /&gt;Looks like need to modify the dax fourmula.&lt;BR /&gt;I can't use copy query (from performance analyzer) as it is different from report builder(we have used variable and filter).&lt;BR /&gt;&lt;BR /&gt;Please guide me how can I modify existing query to include measures.&lt;BR /&gt;Thank you in advance&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 06:52:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1572997#M17288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-29T06:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to use measures in power bi report builder which was created in Power Bi dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1573007#M17290</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp; : I have tried the below query as well but no luck&amp;nbsp;&lt;BR /&gt;DEFINE&lt;BR /&gt;VAR vBusinessline = @BusinessLine&lt;BR /&gt;EVALUATE SUMMARIZECOLUMNS(&lt;BR /&gt;ROLLUPGROUP(&lt;BR /&gt;'vw_Data_Extract_Report'[CustomerName]&lt;BR /&gt;),&lt;BR /&gt;"AnonymizedCustomerName", 'vw_VOC_Data_Extract_Report'[AnonymizedCustomerName],&lt;BR /&gt;FILTER(VALUES ( 'vw_Data_Extract_Report'[businesslineid] ), 'vw_Data_Extract_Report'[businesslineid] = VALUE (vBusinessline) )&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 07:06:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1573007#M17290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-29T07:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use measures in power bi report builder which was created in Power Bi dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1573549#M17294</link>
      <description>&lt;P&gt;The below query is working where AnonymizedCustomerName is measure but when I add filter expression to the below query which in turn uses parameter its throwing error&lt;/P&gt;&lt;P&gt;DEFINE&lt;BR /&gt;VAR test =&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SUMMARIZECOLUMNS(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'vw_VOC_Data_Extract_Report'[BusinessLine],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;'vw_VOC_Data_Extract_Report'[CUSTOMERNAME],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"AnonymizedCustomerName", 'vw_VOC_Data_Extract_Report'[AnonymizedCustomerName]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;BR /&gt;EVALUATE&lt;BR /&gt;test&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;My requirement is something like below which is actually not working&lt;BR /&gt;DEFINE&lt;BR /&gt;VAR vBusinessline = @BusinessLine&lt;BR /&gt;VAR test =&lt;BR /&gt;SUMMARIZECOLUMNS(&lt;BR /&gt;'vw_VOC_Data_Extract_Report'[BusinessLine],&lt;BR /&gt;'vw_VOC_Data_Extract_Report'[CUSTOMERNAME],&lt;BR /&gt;"AnonymizedCustomerName", 'vw_VOC_Data_Extract_Report'[AnonymizedCustomerName],&lt;BR /&gt;FILTER(VALUES ( 'vw_VOC_Data_Extract_Report'[businesslineid] ),&lt;BR /&gt;'vw_VOC_Data_Extract_Report'[businesslineid] = VALUE (vBusinessline) )&lt;BR /&gt;)&lt;BR /&gt;EVALUATE&lt;BR /&gt;test&lt;BR /&gt;&lt;BR /&gt;Request you all to please help and guide me.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 14:47:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1573549#M17294</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-29T14:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use measures in power bi report builder which was created in Power Bi dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1573554#M17295</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;: Request you to please help me to fix this&lt;/P&gt;</description>
      <pubDate>Tue, 29 Dec 2020 14:49:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1573554#M17295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-29T14:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to use measures in power bi report builder which was created in Power Bi dataset</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1574296#M17301</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the used column in the measure, make sure you have add the measure and all refer&amp;nbsp;columns into the query to create a new dataset in RB.&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Seems [&lt;SPAN&gt;AnonymizedCustomerName] is a measure, so you should add a calculate() function&amp;nbsp;to call out the filter.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"AnonymizedCustomerName",&lt;STRONG&gt;&lt;EM&gt; Calculate(&lt;/EM&gt;&lt;/STRONG&gt;'vw_VOC_Data_Extract_Report'[AnonymizedCustomerName],&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;FILTER(VALUES ( 'vw_VOC_Data_Extract_Report'[businesslineid] ),&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;'vw_VOC_Data_Extract_Report'[businesslineid] = VALUE (vBusinessline) )&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Paul Zheng _ Community Support Team&lt;BR /&gt;If this post helps, please Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 07:12:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/How-to-use-measures-in-power-bi-report-builder-which-was-created/m-p/1574296#M17301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-11T07:12:40Z</dc:date>
    </item>
  </channel>
</rss>

