这里将使用什么样的度量或专栏

发布于 2025-01-27 19:14:19 字数 254 浏览 4 评论 0原文

[请参阅下图。我想创建一个堆叠的列图表,但我没有一个包括0-30、30-60、60-90等的列。我如何将此范围放在X轴上? 而且我不明白“最后三个月的平均”& “最后12个月的平均值”。 您能为我提供同样的帮助吗? ]

https://i.sstatic.net/aenoa.png

[Please refer to the below image. I want to create a stacked column chart but I don't have a column that includes 0-30, 30-60, 60-90, etc. How did I put this range on X-axis?
And I didn't understand what kind of measure is used for "LAST 3 MONTH average" & "LAST 12 MONTH average ".
Can you please assist me with the same? ]

https://i.sstatic.net/AEnoa.png

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心清如水 2025-02-03 19:14:19

这是Microsoft文档,介绍了Power BI中使用分组和包装功能: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-grouping-and-binning

这:

3 Month Average = CALCULATE(
                      AVERAGE(Table[value]),
                      FILTER(Table,
                          Table[date] >= DATE(YEAR(TODAY()),MONTH(TODAY()-3),DAY(TODAY()))
                      )
                  )

Here is Microsoft documentation on using grouping and binning features in Power BI: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-grouping-and-binning

You can create a measure for last 3 month average like this:

3 Month Average = CALCULATE(
                      AVERAGE(Table[value]),
                      FILTER(Table,
                          Table[date] >= DATE(YEAR(TODAY()),MONTH(TODAY()-3),DAY(TODAY()))
                      )
                  )
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文