示例#1
0
        private static void Test_Export(PBIAPIClient pbic)
        {
            PBIGroup myGroup = pbic; // "My Workspace"

            PBIReport report = myGroup.GetReportByName("MyReport");

            report.Export("D:\\MyReport.pbix");
        }
示例#2
0
        private static void Test_GetReports(PBIAPIClient pbic)
        {
            PBIGroup myGroup = pbic; // "My Workspace"
            //var x = pbic.Groups;
            //x.Count();
            PBIReport report = myGroup.GetReportByID("9ff0b4cd-2105-4405-857b-d51ffb06c14a");

            report.Export("D:\\Desktop\\MyReport.pdf");
        }