PowerBi折线图与字段参数

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

PowerBi Line Chart with Field Parameters

问题

我有一个问题,我无法解决。我创建了一个折线图来放置数据,但我想创建一个切片器,以便在需要时选择要放置的列。切片器在表格中运行得非常好,但在折线图中却不起作用,数据就是不显示。

这是另一张图片,我注意到我没有显示我将参数放在Y轴上。

如您所见,我放置了参数,但它们不起作用,也没有显示任何数据。

英文:

I have a problem that I couldn't figure it out. I have created a line chart to put the data in it but I wanted to create a slicer to choose what columns to put whenever I want however. The slicer works perfectly well with the table but not with the line chart the data just don't show PowerBi折线图与字段参数

Here is another image after the I noticed that I didn't show that I put the parameters in Y axis.

[![enter image description here][2]][2]

as you can see here I put the parameters but they are not working or showing any data
[2]: https://i.stack.imgur.com/CP1kw.png

答案1

得分: 0

你正在尝试创建一个参数来显示数值而不是属性,所以在这里不能使用隐式度量。

你首先必须创建所有你想要在参数中提供的显式度量。

例如:Total Upg Target = SUM(Table[Upg Target]) 等等。

然后,你可以将这些度量用作参数的字段,这样可以在图表中计算数值。

英文:

You are trying to create a parameter to display values not attributes, so you can not use implicit measures here.

You first have to create all explicit measures you want to offer in the parameter.

For example : Total Upg Target = SUM(Table[Upg Target]) etc.

Then you can use these measures as your parameter's fields, which can then be used to compute values in your charts.

huangapple
  • 本文由 发表于 2023年8月9日 02:51:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/76862439.html
匿名

发表评论

匿名网友

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

确定