<?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: Report Test Automation by exporting data in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Report-Test-Automation-by-exporting-data/m-p/907066#M22066</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I haven't peronsally had a play with the approaches below yet, but am aware of them, which may be all you need to get started. If more specific help is required, then we'll probably need another user more skilled in these areas to weigh in.&lt;/P&gt;&lt;P&gt;MS provide third-party access to SSAS via XMLA endpoint, which is a SOAP-based protocol for working with Analysis Services, so any language with good SOAP support, so Java might be a better fit than JS here.&lt;/P&gt;&lt;P&gt;Note that XMLA is available in preview in Power BI, but only if you have premium,&amp;nbsp;so SSAS might be the better option.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/analysis-services/multidimensional-models-scripting-language-assl-xmla/developing-with-xmla-in-analysis-services" target="_self"&gt;Developing with XMLA in Analysis Services&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/bi-reference/xmla/xml-for-analysis-xmla-reference" target="_self"&gt;XMLA reference&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You should also be able to use XMLA in conjunction with SSAS-specific scripting languages:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/analysis-services/multidimensional-models/scripting-language-assl/developing-with-analysis-services-scripting-language-assl" target="_self"&gt;Developing with Analysis Services Scripting Language (ASSL)&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/bi-reference/tmsl/tabular-model-scripting-language-tmsl-reference" target="_self"&gt;Tabular Model Scripting Language (TMSL) Reference&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hopefully this should give you something to get started with.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;FONT size="2"&gt;If my post helps, then please consider accepting as a solution to help other forum members find the answer more quickly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2020 20:59:44 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2020-01-21T20:59:44Z</dc:date>
    <item>
      <title>Report Test Automation by exporting data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-Test-Automation-by-exporting-data/m-p/907037#M22065</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking into building a test automation to verify whether the report is implemented properly by supplying mock data, and checking it on the report whether the expected values are shown.&amp;nbsp; In order to do so, I need to export the report data and feed it into the test framework.&amp;nbsp; I have checked both Java REST API and JavaScript PowerBI API, but&amp;nbsp;all i see is the ExportData api in JS which exports the data in csv format.&amp;nbsp; As our existing test framework is in Java, I was hoping that there is a way to get something like a JSON blob in Java.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our backend is in Azure Analysis Services, and I have thought about getting data from there instead, since it will do most of the processing, but AAS also does not have a handy way to be queried by non-MS systems it seems.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked the forum too, but with no luck.&amp;nbsp; Is there a way to get data from either PowerBI reports or AAS using Java (preferably) or JS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 20:21:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-Test-Automation-by-exporting-data/m-p/907037#M22065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-21T20:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: Report Test Automation by exporting data</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Report-Test-Automation-by-exporting-data/m-p/907066#M22066</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I haven't peronsally had a play with the approaches below yet, but am aware of them, which may be all you need to get started. If more specific help is required, then we'll probably need another user more skilled in these areas to weigh in.&lt;/P&gt;&lt;P&gt;MS provide third-party access to SSAS via XMLA endpoint, which is a SOAP-based protocol for working with Analysis Services, so any language with good SOAP support, so Java might be a better fit than JS here.&lt;/P&gt;&lt;P&gt;Note that XMLA is available in preview in Power BI, but only if you have premium,&amp;nbsp;so SSAS might be the better option.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/analysis-services/multidimensional-models-scripting-language-assl-xmla/developing-with-xmla-in-analysis-services" target="_self"&gt;Developing with XMLA in Analysis Services&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/bi-reference/xmla/xml-for-analysis-xmla-reference" target="_self"&gt;XMLA reference&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You should also be able to use XMLA in conjunction with SSAS-specific scripting languages:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/analysis-services/multidimensional-models/scripting-language-assl/developing-with-analysis-services-scripting-language-assl" target="_self"&gt;Developing with Analysis Services Scripting Language (ASSL)&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://docs.microsoft.com/en-us/bi-reference/tmsl/tabular-model-scripting-language-tmsl-reference" target="_self"&gt;Tabular Model Scripting Language (TMSL) Reference&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hopefully this should give you something to get started with.&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&lt;FONT size="2"&gt;If my post helps, then please consider accepting as a solution to help other forum members find the answer more quickly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 20:59:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Report-Test-Automation-by-exporting-data/m-p/907066#M22066</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2020-01-21T20:59:44Z</dc:date>
    </item>
  </channel>
</rss>

