开关电源用什么开关管_电源开关中的安全点击技巧

开关电源用什么开关管

Bookmarks are one of the most used features in Power BI. Personally, it’s one of my favorites, since they give you a possibility to create “app-like” Power BI reports and make them look more interactive.

书签是Power BI中最常用的功能之一。 就个人而言,这是我的最爱之一,因为它们使您可以创建“类似于应用程序的” Power BI报表,并使它们看起来更具交互性。

I’ve already written about using bookmarks for transforming static visuals to dynamic ones. You can also use bookmarks to build a PRO slicer pane that your users will love. Honestly, there are really dozen of use-cases where you can apply bookmarking.

我已经写过有关使用书签将静态视觉效果转换为动态视觉效果的文章。 您还可以使用书签来构建用户喜欢的PRO Slicer窗格 。 坦白说,确实有数十个用例可以在其中应用书签。

Basically, what a bookmark does, it captures the current state of the visuals on the report page, so you can use it as a reference in your actions through buttons, images, shapes, etc.

基本上,书签的作用是捕获报告页面上视觉效果的当前状态,因此您可以通过按钮,图像,形状等将其用作操作参考。

烦人的书签 (Annoying bookmark)

However, there is one quite annoying behavior of the bookmark, which occurs when you work with shapes. Let’s switch to an example in Power BI and I will explain what is the problem and how it can be easily solved.

但是,书签有一种很烦人的行为,当您使用形状时会发生这种情况。 让我们转到Power BI中的示例,我将解释问题所在以及如何轻松解决问题。

Image for post

I have a large slicer pane, which serves as a placeholder for multiple slicers. However, if I click somewhere on the rectangle shape area, out of slicers themselves, this pane will cover all slicers! That’s not a nice experience for my users, since most of them are not aware that they can click anywhere else outside the shape and everything will be back to normal. And I want to change this behavior…

我有一个很大的切片器窗格,可以用作多个切片器的占位符。 但是,如果我在矩形区域的某处单击,而不是切片器本身,则此窗格将覆盖所有切片器! 对于我的用户而言,这不是一个很好的体验,因为他们中的大多数人都不知道他们可以单击形状以外的其他任何位置,并且一切都会恢复正常。 我想改变这种行为

安全点击技巧! (Safe Click trick!)

The first thing that we need to do is to open the Bookmarks pane under the View tab in Power BI desktop:

我们需要做的第一件事是在Power BI桌面的“视图”选项卡下打开“书签”窗格:

Image for post

After expanding the slicer pane, I will create a new bookmark, uncheck everything, so it becomes greyed out:

扩展切片器窗格后,我将创建一个新书签,取消选中所有内容,使其变为灰色:

Image for post

Now, let’s define an action for our shape so that it points to our newly created bookmark:

现在,让我们为形状定义一个动作,使其指向我们新创建的书签:

Image for post

Since we’ve disabled everything, this shape became unclickable, which means that it will not appear over our slicers if the user clicks on it!

由于我们已禁用所有功能,因此该形状变得不可单击,这意味着如果用户单击它,它将不会显示在切片器上!

Let’s check if that works:

让我们检查一下是否可行:

Image for post

Awesome! As you can notice, when I click on the area within the shape, and out of the slicers, nothing happens — exactly as we intended!

太棒了! 如您所见,当我单击形状内的区域并从切片器中单击时,什么也没发生-完全符合我们的预期!

结论 (Conclusion)

Small details can make a big difference in user experience. Keep that in mind when designing Power BI reports and your users will love you:)

小细节可以对用户体验产生很大的影响。 设计Power BI报表时请记住这一点,您的用户会爱上您:)

翻译自: https://towardsdatascience.com/safe-click-trick-in-power-bi-d3e2296ade04

开关电源用什么开关管

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值