Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Powerbi 转换为整数次幂bi_Powerbi_Powerbi Desktop - Fatal编程技术网

Powerbi 转换为整数次幂bi

Powerbi 转换为整数次幂bi,powerbi,powerbi-desktop,Powerbi,Powerbi Desktop,我有一些来自facebook的数据,有一些类似于页面的帖子数据 page post_message post_id k_page abc 2235104643378942_2279694418919964 k_page abc 2235104643378942_2279694418919964 m_page def 2235104643378942_2269253136

我有一些来自facebook的数据,有一些类似于页面的帖子数据

page             post_message    post_id

k_page            abc      2235104643378942_2279694418919964
k_page           abc        2235104643378942_2279694418919964
m_page           def      2235104643378942_2269253136630759
m_page          xyz         2235104643378942_2268695880019818
我没有创建这些post_id,这是我提取数据时facebook power bi自动生成的。。现在,当我尝试这个方法时,我想得到每个页面上这些id的总和

sum(table1[post_id])
这显示了一个错误

函数SUM不能与字符串类型的值一起使用


我还将post_id转换为整数,但由于下划线“u”,这列似乎没有转换为整数。。我该怎么办

不确定我是否理解你的问题,但我假设你想按页面分组,然后如何计算按页面分组的帖子 这是原始数据

还有你想要的结果。


这是你想要的还是别的什么。

你真的指望post_id吗?@MIRROR yep Idid@MIRROR如果它对您有帮助,请您将其标记为已解决。也会帮助别人。你想达到什么目标?数一数邮政编码?你可以从中找出原因。这个总数将检索到一个非常大的数字,这个数字与职位数量相差甚远。