问题标签 [powerbi]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
3577 浏览

binary-data - 在 Power View 和 Power BI 中显示图像

我需要在 power view 中创建一个报告,我需要在平铺中显示图像。我找到了一种解决方案,使用以下链接将图像作为二进制数据存储在数据模型表中

http://www.sharepointanalysthq.com/2014/09/adding-data-bound-images-to-power-view-with-power-query/comment-page-1/#comment-87049

我尝试了这个但仍然无法显示图像,我只得到图像图标而不是实际图像。

0 投票
2 回答
225 浏览

sharepoint - Office 365 管理中心是否有适用于 Power BI 的 API?

是否有适用于 Office 365 的 Power BI 的公共 API?

我已经搜索了 Power BI API,但是,唯一的结果与新的 Power BI 体验相关,该体验仍处于预览阶段。

我在 technet 论坛上找到了这个问题,但是,答案只链接到新 Power BI 的 API。

https://social.technet.microsoft.com/Forums/en-US/b15de752-353f-48f2-a890-9cee2f3e7ebc/public-api-for-power-bi-for-office-365?forum=powerbiforoffice365

0 投票
1 回答
111 浏览

powerview - Power BI Office 365 - 预测 - 在右侧看不到点和分析选项卡

我创建了一个单折线图电源视图报告表并上传到 Office 365 Power BI 应用程序。

然后我启用了 HTML5 视图,但我没有得到用于预测的“点”,甚至没有得到带有过滤器的右侧选项卡上的分析选项卡。 在此处输入图像描述

我在这里有什么遗漏吗?

我已按照以下链接中提到的所有步骤进行操作。

http://social.technet.microsoft.com/wiki/contents/articles/25531.getting-started-with-forecasting-and-hindcasting-in-power-view.aspx

谁能帮帮我吗?

谢谢,

米塔尔。

0 投票
2 回答
1320 浏览

oauth - 使用 Azure Active Directory + REST API 的 MVC5 应用程序——对 PowerBI / O365 进行身份验证

我正在尝试调整此处显示的 WebAPI 示例,以在 MVC5 中使用:

https://msdn.microsoft.com/en-US/library/dn931282.aspx#Configure

我有一个基于常规AccountController的登录系统,但我还需要用户通过 OAuth 登录到 PowerBI,因此我可以通过 PowerBI REST API 提取数据集。但是,我ClaimsPrincipal.Current.FindFirst(..)得到了null

在示例应用程序(WebAPI 项目)中一切正常。我app.UseOpenIdConnectAuthentication还在Startup.Auth.cs.

看来问题是我在“ClaimsPrincipal.Current”中拥有的唯一声明类型是“CookieAuthentication” - 它缺少http://schemas.microsoft.com/identity/claims/objectidentifier声明。

另外...Microsoft OAuth 窗口永远不会在浏览器中打开...但是,错误出现在 ActiveDirectory 相关代码中...该代码首先不需要 OAuth 令牌,对吗?

0 投票
1 回答
300 浏览

azure - 开源替代 fo azure 服务总线和机器学习

我正在寻找以下服务的开源替代方案,

Azure 服务总线

Azure 机器学习

Azure 通知中心

Power BI for Office 365 移动服务 云服务

是否有任何解决方案可以将所有这些类似的服务作为一个整体解决方案进行互操作?

0 投票
1 回答
881 浏览

rest - Power BI REST API:远程服务器返回错误

我最近开始探索 Power BI REST API,但今天我遇到了一些奇怪的事情。

昨天我从 Github 下载了 Power BI getting-started-for-dotnet 项目。(https://github.com/PowerBI/getting-started-for-dotnet)。为了运行这个项目,我必须在我的 Azure 帐户上做一些我成功完成的事情。我昨天运行了应用程序,一切都很好。

但是今天,当我尝试向数据集添加行时收到错误消息。它给了我以下错误:“远程服务器返回错误:(404)未找到。”

我重新下载了该项目,但它仍然给我同样的错误。

还有其他人经历过吗?

0 投票
4 回答
65136 浏览

excel - 在 DAX 中使用多个过滤器

我是 DAX 的新手。

我目前正在使用 Power BI 并尝试创建使用几个不同 SKU(或 ID)的总销售额

我可以使用它来过滤到 1 个 sku(“A1”):

Measure = CALCULATE([销售额总和],Table4[SKU]="A1")

但我想过滤到五个不同的 SKU。

示例数据:

这可能吗?

0 投票
1 回答
467 浏览

excel - PowerBI Preview cannot refresh workbook with Azure SQL datasource

I've been working on creating workbook and share them on PowerBI Preview service, and today I found that I couldn't schedule a refreshment on my workbook.

Inside this workbook, I connect with my data source(Azure SQL database) by using the Excel PowerQuery. At the moment that I add the scheduled refreshment, I got the message: you can't schedule refresh because this dataset contains data sources that do not yet support refresh.

Does anyone see why this didn't work, any help will be really appropriated.

Answer: I should load directly my data into a data model instead of into a worksheet, now the refreshment works fine!


Now I got another question, I have two tables like below

  1. Table devices.

    deviceid, network_type, location, language
    id001,wifi,us,english

    id002,gsm,france,french

    id003,wifi,italy,italian.....

  2. Table data consuming.

    deviceid, volume_consuming, date

    id001, 200, 04-03-2015

    id001,300, 04-05-2015

    id002,500, 04-06-2015

    id002, 600, 04-05-2015

    id003,800, 04-03-2015

    id003, 1000, 04-06-2015

I need to calculate average data consuming per device and aggregate by date, then I created this table below

  1. Table aggregation by date

    date, avg_data_per_device

    04-03-2015, 500

    04-05-2015, 450

    04-06-2015, 750

Now comes my question, I want to add some filter to my graph which is based on the third table, since there are no deviceid in this table(it's an aggregation table), can I do some manipulation under PowerBI to acheive this, does anyone have any ideas please, thanks in advance !!!

0 投票
1 回答
1336 浏览

powerbi - Power BI REST API:导入数据

是否可以从 Power BI 数据集导入数据?如 CSV、JSON 等。

我尝试将 HTTP GET 发送到https://api.powerbi.com/beta/myorg/datasets/ {dataset_id}/table/{table_name}/rows但服务器返回 404 错误代码。

谢谢!

0 投票
2 回答
997 浏览

powerbi - Power BI 表格排序顺序

试驾 MS Power BI Designer。在表格可视化中,我找不到维护数据源顺序的方法。我有一个特定的顺序,我想要一个文本字段。它在查询中以这种方式排序,但报告只允许 asc/desc 顺序。不想将 01,02,03 放在文本字段中。也不想在可视化中包含“订单”字段。(如果我可以“隐藏”字段,那会起作用)。有任何想法吗?