将度量值转换为Power BI中的存储桶
I have two columns of data like this:
Now I want to turn tenure into buckets like this:
I've searched but none of those works in Power bi.
What should I do?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一种非常简单的方法来创建组和水桶。只需右键单击要在正确的栏中分组的字段,然后选择“新组”即可。
但是,我发现与固定尺寸的 bins一起使用是非常挑剔的。
我首选的方法可以简单地创建一个新的计算列,使用
switch> switch> switch> switch
dax function ::There is a very simple way to create groups and buckets. Simply right-click the field you want to group in the right bar and select "New group".
However, I find it quite finicky to use with fixed sized bins.
My preferred way it to simply create a new calculated column, using the
SWITCH
dax function: