如何在PowerBI上使用DAX查询从现有表中创建新表?

问题描述 投票:0回答:1

我正在尝试使用PowerBI的DAX查询使用现有表创建新表,是否有最佳选择?

我的桌子是

enter image description here

powerbi dax powerbi-desktop powerbi-datasource powerbi-custom-visuals
1个回答
0
投票

转到建模选项卡,然后选择一个新表选项

enter image description here

您将在下面获得DAX查询编辑选项

enter image description here

查询:编写查询以从现有表创建新表

CustomerOccupation = SUMMARIZE('KPIMapReduce?limit=10000&stale=false&connection_timeout=60000&inclusive_end=true','KPIMapReduce?limit=10000&stale=false&connection_timeout=60000&inclusive_end=true'[CustomergetOccupation],'KPIMapReduce?limit=10000&stale=false&connection_timeout=60000&inclusive_end=true'[ClerkCount],'KPIMapReduce?limit=10000&stale=false&connection_timeout=60000&inclusive_end=true'[DriverCount],'KPIMapReduce?limit=10000&stale=false&connection_timeout=60000&inclusive_end=true'[FarmerCount],'KPIMapReduce?limit=10000&stale=false&connection_timeout=60000&inclusive_end=true'[WorkerCount],'KPIMapReduce?limit=10000&stale=false&connection_timeout=60000&inclusive_end=true'[OthersCount])

[结果:我们的新表已准备就绪

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.