在应用 addDataField 时设置 Power BI 嵌入式分析中的层次级别

huangapple go评论73阅读模式
英文:

Set Hierarchy Level when applying addDataField in Power BI embedded analytics

问题

我正在使用以下库在我的Web应用程序中嵌入Power BI报告

powerbi-client v2.19.1 和 powerbi-report-authoring v1.1.1

当我们在一些数据角色中添加日期字段(例如,如果我们在线图的X轴中添加日期字段),然后我们可以在可视化设置中看到一个选项来更改层次结构级别(如下所示)
在应用 addDataField 时设置 Power BI 嵌入式分析中的层次级别

这个设置对我来说运行正常(我能够使用这个按钮钻取到任何级别),但我如何通过代码实现这一点呢?

在这里,我正在寻找一些在将该数据字段添加到可视化本身时设置下钻级别的解决方案。

英文:

I am embedding Power BI report in my web application using below libraries

powerbi-client v2.19.1 and powerbi-report-authoring v1.1.1

When we add Date fields in some data roles(for example if we add Date field in X axis for line chart) then we can see one option to change hierarchy level with in the visual settings itself (like below)
在应用 addDataField 时设置 Power BI 嵌入式分析中的层次级别

This settings is working fine for me(I was able to drill to any level using this button) but How can i do this by code?

Here I am looking for some solution to set drill down level when adding that data field to visual itself.

答案1

得分: 1

这不受Microsoft Power BI支持。

您可以在Fabric社区论坛中提交您的想法。

https://ideas.fabric.microsoft.com/

英文:

This is not supported by Microsoft Power BI.

You can submit your ideas in Fabric Community forum.

https://ideas.fabric.microsoft.com/

huangapple
  • 本文由 发表于 2023年7月3日 20:57:44
  • 转载请务必保留本文链接:https://go.coder-hub.com/76604959.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定