一张图表 - 一次显示一个度量
One Chart- One Measure at a time being displayed
我能否在 Power BI 中拥有多个图表或创建不同的图表类型并创建一个参数以便我一次只显示 1 个图表。 Power BI 中有这种可能性吗?
例如:
一年又一年
逐月
Month/Average 的一个度量作为不同的度量。
我可以下拉列表了解哪些措施是 select 并且一次只能 select 一个吗?
你好像问了几个问题。我可以回答其中之一:
Can I have a drop down as to which measures are selected and have the ability to be only select them one at the time?
您可以创建一个 table
My Measures = DATATABLE("My Measure", STRING, {{"Measure 1"}, {"Measure 2"}})
然后 table 一个措施
Selected Measure = SWITCH(SELECTEDVALUE('My Measures'[My Measure], BLANK()), "Measure 1", [Measure 1], "Measure 2", [Measure 2])
然后使用[My Measure]
列作为切片器(可以是下拉菜单)。然后,当您从切片器 select "Measure 1" 时,[Selected Measure]
度量将切换为显示 [Measure 1]
.
的值
如果您要交换的所有度量都具有相同的数字格式,则此方法效果最佳。
我能否在 Power BI 中拥有多个图表或创建不同的图表类型并创建一个参数以便我一次只显示 1 个图表。 Power BI 中有这种可能性吗?
例如: 一年又一年 逐月 Month/Average 的一个度量作为不同的度量。
我可以下拉列表了解哪些措施是 select 并且一次只能 select 一个吗?
你好像问了几个问题。我可以回答其中之一:
Can I have a drop down as to which measures are selected and have the ability to be only select them one at the time?
您可以创建一个 table
My Measures = DATATABLE("My Measure", STRING, {{"Measure 1"}, {"Measure 2"}})
然后 table 一个措施
Selected Measure = SWITCH(SELECTEDVALUE('My Measures'[My Measure], BLANK()), "Measure 1", [Measure 1], "Measure 2", [Measure 2])
然后使用[My Measure]
列作为切片器(可以是下拉菜单)。然后,当您从切片器 select "Measure 1" 时,[Selected Measure]
度量将切换为显示 [Measure 1]
.
如果您要交换的所有度量都具有相同的数字格式,则此方法效果最佳。