如何在Power BI双轴图表上具有每周和每月数据?

编程入门 行业动态 更新时间:2024-10-10 21:29:16
本文介绍了如何在Power BI双轴图表上具有每周和每月数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有2个时间序列的数据,一个是月度值,一个是每周值。当我扩展到所有1级时,它确实可以满足我的要求,但不能正确显示月度值。

有什么办法可以让我图表在同一张图表上显示一组数据的月度值(和几个月),而另一组数据的周度值呢?

某些样本数据

每月/年Sigma 2019年10月5 2019年11月5.5 2019年12月4.5 2020年1月4.75

周数缺陷 43 6 44 4 46 5 51 10 1 8

解决方案

PowerBI视觉效果可在特定粒度下使用。您可以有每月和每周的系列,但是除非您可以在两者之间建立关联,例如将每周系列向上滚动到每月,否则它们将不会适合一种视觉效果。然后,您可以在同一月度轴上显示两个系列。如果无法关联,则需要使用 vanilla PowerBI绘制两个图表。

有一个

I have 2 time series of data, one that is a monthly value and one that is weekly. When I "expand" all down 1 level it kind of does what I want but it doesn't properly show the monthly values.

Is there a way I can have a chart that shows the monthly values (and just months) for one set of data and weekly values for another set of data on the same chart?

Some Sample Data

Month/Yr Sigma Oct 2019 5 Nov 2019 5.5 Dec 2019 4.5 Jan 2020 4.75

WeekNum Defects 43 6 44 4 46 5 51 10 1 8

解决方案

PowerBI visuals work at a specific grain. You can have monthly and weekly series, but they will not "fit" on one visual unless you can build a correlation between the two, for example, rolling your weekly series up to monthly. Then you can show both series on the same monthly axis. If you can't correlate, you will need two charts using "vanilla PowerBI".

There is a PowerBI feature request that you can upvote for a 3 axis chart, please do.

You can use R to achieve a three axis chart, however you lose ability to control styling through PowerBI themes.

Also, explore this option on PowerBI.Tips charts

or look in Appsource for 3rd party options, an example below - I am not affiliated with the vendor in the image, nor used their product.

更多推荐

如何在Power BI双轴图表上具有每周和每月数据?

本文发布于:2023-10-30 18:25:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1543649.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:图表   数据   如何在   BI   Power

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!