当前位置:网站首页>PowerBI中导出数据方法汇总
PowerBI中导出数据方法汇总
2022-07-02 09:32:00 【PowerBI木小桼】
虽然BI的目的是将人从做数中解脱出来,可终逃不过业务人员需要将数据导出到Excel然后自己做数据的命运,所以用户最常见的一个也是最刚需的一个问题就是怎么导出数据。今天就汇总下可以导出PowerBI报表中数据的几种方法。
视觉对象标头
首先需要确保这个功能是否关闭,如果勾选了隐藏视觉对象标头,在本地打开pbi文件时不会有任何影响,但是在server端阅读报表时点击图表右上角不会再出现标头。
选中想要导出数据的图表,右上角图表标头—更多选项—导出数据,这种方法有数据限制,具体可阅读官方文档,
从 Power BI 可视化效果导出数据 - Power BI | Microsoft Docs[1]
复制表
如果需要整表导出,可以在数据视图,选中需要导出数据的表,右键—复制表,然后粘贴到文件里即可。这种方法
DAX Studio导出
整表导出
使用EVALUATE关键字+表名,可以对数据进行整表导出为csv文件
图表数据导出
如果我们导出的是报表中某个超出限制的图表上的数据,仍然可以使用dax studio,可以直接在dax studio中书写查询代码,当然也可以把pbi报表中图表上的查询语句复制过来。
导航栏,选择视图—性能分析器—开始记录—刷新视觉对象,然后复制相关图表的查询语句
将代码粘贴到dax studio中,会发现代码和我们在powerbi中写的dax代码会有些不同,但不影响阅读,同上导出整表的步骤,运行代码导出数据即可。
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-gZq2T2Xz-1656148878627)(https://mmbiz.qpic.cn/mmbiz_png/TyDRib9iao84MTP6LGCVMJzVpo8jsibuibeicbHmqAcyPgib9uO2EMTVbgH4l2MI66Av77paHLEQSodsfDs8S4npfErA/640?wx_fmt=png)]
导出所有表
仍然是在dax studio中,切换到Advance—Export Data,之后可以选择将数据导出到Csv或数据库。
Power BI Exporter
如果是需要将pbi文件中的数据全部导出,也可使用Power BI Exporter,它虽然没有dax studio那么强大,对于导出报表中的数据来说却更方便,只需要在文件中点击一下即可
文件地址:
Power BI Exporter – Data Vizioner[2]
当然,还有其他一些外部工具可以导出数据,比如Power BI Helper 等等。
Power Automate
可以在pbi报表中加入Power Automate,通过点击按钮的方式来将数据下载到One drive或者本地,
Python
当然也可以使用Python连接PowerBI数据集,从而导出想要的数据,具体可查看当PowerBI遇到了Python, 使用Python连接PowerBI数据集
Excel连接PowerBI数据集
如果导出数据的目的是在excel中查看的话,那么可以直接在excel中连接powerbi数据集,然后将想要的数据拖到数据透视表即可
引用链接
[1]
从 Power BI 可视化效果导出数据 - Power BI | Microsoft Docs: https://docs.microsoft.com/zh-cn/power-bi/visuals/power-bi-visualization-export-data?tabs=dashboard[2]
Power BI Exporter – Data Vizioner: https://www.datavizioner.com/power-bi-exporter/
边栏推荐
- [applinking practical case] share in app pictures through applinking
- 二.Stm32f407芯片GPIO编程,寄存器操作,库函数操作和位段操作
- Importerror: impossible d'importer le nom « graph» de « graphviz»
- The most detailed MySQL installation tutorial
- 一.STM32的开发环境,keil5/MDK5.14安装教程(附下载链接)
- OpenMLDB Meetup No.4 会议纪要
- Regular and common formulas
- php中self和static在方法中的区别
- Special topic of binary tree -- acwing 1497 Traversal of the tree (use post and mid order traversal to build a binary tree)
- Is bond fund safe? Does the bond buying foundation lose principal?
猜你喜欢
V2x SIM dataset (Shanghai Jiaotong University & New York University)
Mongodb learning and sorting (condition operator, $type operator, limit() method, skip() method and sort() method)
二叉树专题--AcWing 1589. 构建二叉搜索树
Special topic of binary tree -- Logu p1229 traversal problem (the number of traversals in the middle order is calculated when the pre and post order traversals of the multiplication principle are know
[play with FPGA learning 5 in simple terms ----- reset design]
[AGC] how to solve the problem that the local display of event analysis data is inconsistent with that in AGC panel?
QT学习日记8——资源文件添加
tqdm的多行显示与单行显示
从攻击面视角,看信创零信任方案实践
Binary tree topic -- Luogu p3884 [jloi2009] binary tree problem (DFS for binary tree depth BFS for binary tree width Dijkstra for shortest path)
随机推荐
QT learning diary 7 - qmainwindow
MTK full dump grab
Special topic of binary tree -- acwing 47 Path with a certain value in binary tree (preorder traversal)
Luogu p5536 [xr-3] core city (greed + tree DP looking for the center of the tree)
【IDEA】使用插件一键逆向生成代码
TIPC protocol
ImportError: cannot import name ‘Digraph‘ from ‘graphviz‘
flink二开,实现了个 batch lookup join(附源码)
一.STM32的开发环境,keil5/MDK5.14安装教程(附下载链接)
Is bond fund safe? Does the bond buying foundation lose principal?
二叉树专题--AcWing 3540. 二叉搜索树建树(实用板子 构建二叉搜索树 并输出前、中、后序遍历)
K-d tree and octree of PCL
Verilog 和VHDL有符号数和无符号数相关运算
Luogu p1892 [boi2003] Gang (and search for variant anti set)
SQLite modify column type
String (Analog
OpenMLDB Meetup No.4 会议纪要
[applinking practical case] share in app pictures through applinking
Luogu p4281 [ahoi2008] emergency gathering / gathering (tree doubling LCA)
TIPC introduction 1