当前位置:网站首页>Power Bi -- these skills make the report more "compelling"“
Power Bi -- these skills make the report more "compelling"“
2022-07-25 11:59:00 【Xiao Chen Bu eats people】
These skills make the report more " Forced case "
1. Self made unit
Use PowerBI When , A very unpleasant thing is the setting of data units , Only a thousand 、 Millions of other British and American habits to show , Instead of trillions and other units we are used to in Chinese , Although it is required to add " ten thousand " The voice is very loud , But we haven't seen the improvement action for a long time , Maybe China PowerBI There are not enough users .
Today we set it by ourselves , The implementation is very simple , It's a commonly used number divided by 10000 , Then the unit becomes 10000 , Yi Tongli . Now let's see how to switch units through the setting of measures .
Build a measure
Ten thousand yuan = CALCULATE(sum([ Domestic sales ])/10000)
The effect is as follows :
You can even build a unit table
- Build unit tables and calculate metrics
Unit table = DATATABLE(“ Company ”,STRING,“ Unit value ”,INTEGER,{ {“ element ”,1},{“ Ten thousand yuan ”,10000},{“ One hundred million yuan ”,100000000}})
sales = CALCULATE(sum(‘fba_profit_data_processing_result’[ Domestic sales ]))/SELECTEDVALUE(‘ Unit table ’[ Unit value ],1)

- Unit table construction slicer
The effect is as follows :
2. Dynamic axis
Suppose the data to be analyzed is sales , Analyze from the two dimensions of the majority and the Group , The effect to be achieved is , If you choose most , Then the coordinate axis is the name of each part , Corresponding to the sales of each major department ; If you choose a group , Then the coordinate axis is group , It shows the sales of each group . The effect is as follows :

The implementation process is as follows :
- Combine the group and most into a table , As a follow-up dynamic axis
Axis index table =
VAR table1=SELECTCOLUMNS(ADDCOLUMNS(VALUES(‘team_dep’[ Most of it ]),“ indicators ”,“ Most of it ”),“ indicators ”,[ indicators ],“ Indicator details ”,[ Most of it ])
VAR table2=SELECTCOLUMNS(ADDCOLUMNS(VALUES(‘team_dep’[ team ]),“ indicators ”,“ team ”),“ indicators ”,[ indicators ],“ Indicator details ”,[ team ])
RETURN UNION(table1,table2)
The effect is as follows :
- Build the sales measure generated from the axis
Analyze the data =
SWITCH(TRUE(),
SELECTEDVALUE(‘ Axis index table ’[ indicators ])=“ Most of it ”,CALCULATE([ sales ],TREATAS(VALUES(‘ Axis index table ’[ Indicator details ]),team_dep[ Most of it ])),
SELECTEDVALUE(‘ Axis index table ’[ indicators ])=“ team ”,CALCULATE([ sales ],TREATAS(VALUES(‘ Axis index table ’[ Indicator details ]),team_dep[ team ]))
)
This measure first determines the choice of slicer , If you choose most , Then use TREATAS Function to build a virtual relationship between the axis schedule and the original , such [ sales ] You can filter and calculate normally ; The same is true when choosing groups .
3. Dynamic title
By default ,PowerBI The title of the chart is static , In order to enhance the readability of the chart , By setting the dynamic title , The icon title can be changed according to the screening index , The effect is as follows .

The implementation process is as follows :
- Create a title measure
Proportion title = if(
SELECTEDVALUE(‘ Most indicators ’[ indicators ])=“ refund ”,
“ Refund rate ( By month )”,
SELECTEDVALUE(‘ Most indicators ’[ indicators ])&“ Proportion ( By month )”
)
- Visual object setting Title

Skills are constantly being updated …
边栏推荐
- 浅谈低代码技术在物流管理中的应用与创新
- W5500 is in TCP_ In server mode, you cannot Ping or communicate in the switch / router network.
- MySQL historical data supplement new data
- brpc源码解析(三)—— 请求其他服务器以及往socket写数据的机制
- Zero-Shot Image Retrieval(零样本跨模态检索)
- Brpc source code analysis (VII) -- worker bthread scheduling based on parkinglot
- [MySQL 17] installation exception: could not open file '/var/log/mysql/mysqld log‘ for error logging: Permission denied
- Attendance system based on w5500
- W5500在处于TCP_Server模式下,在交换机/路由器网络中无法ping通也无法通讯。
- Eigenvalues and eigenvectors of matrices
猜你喜欢

【多模态】《TransRec: Learning Transferable Recommendation from Mixture-of-Modality Feedback》 Arxiv‘22

"Mqtt protocol explanation and Practice (access to onenet)" of wiznet w5500 series training activities

基于W5500实现的考勤系统

对比学习的应用(LCGNN,VideoMoCo,GraphCL,XMC-GAN)
![[USB device design] - composite device, dual hid high-speed (64BYTE and 1024byte)](/img/ce/534834c53c72a53fd62ff72a1d3b39.png)
[USB device design] - composite device, dual hid high-speed (64BYTE and 1024byte)

Application and innovation of low code technology in logistics management

微星主板前面板耳机插孔无声音输出问题【已解决】

剑指 Offer 22. 链表中倒数第k个节点

php curl post Length Required 错误设置header头

【对比学习】Understanding the Behaviour of Contrastive Loss (CVPR‘21)
随机推荐
【IMX6ULL笔记】--内核底层驱动初步探究
pycharm连接远程服务器ssh -u 报错:No such file or directory
JS常用内置对象 数据类型的分类 传参 堆栈
JS运算符
brpc源码解析(七)—— worker基于ParkingLot的bthread调度
[high concurrency] I summarized the best learning route of concurrent programming with 10 diagrams!! (recommended Collection)
The first C language program (starting from Hello World)
Hardware connection server TCP communication protocol gateway
软件测试阶段的风险
W5500 multi node connection
W5500 adjusts the brightness of LED light band through upper computer control
阿里云技术专家秦隆:可靠性保障必备——云上如何进行混沌工程
异构图神经网络用于推荐系统问题(ACKRec,HFGN)
A beautiful gift for girls from programmers, H5 cube, beautiful, exquisite, HD
return 和 finally的执行顺序 ?各位大佬请看过来,
Zero-Shot Image Retrieval(零样本跨模态检索)
Multi-Label Image Classification(多标签图像分类)
【高并发】我用10张图总结出了这份并发编程最佳学习路线!!(建议收藏)
Make a reliable delay queue with redis
Power BI----这几个技能让报表更具“逼格“