Forum Discussion
Shamatix
6 years agoPost Partisan
Missing rows when using SUM
Hi fellow users of Power Bi, I have a table lets say it contains 3 colums A, B and C and has the Following Values A |B |C Bo|1 |0 Bo|1 |0 Kik|2|3 ------- |4|3 But today in power...
- 6 years ago
Hi Shamatix ,
There is no method could achieve this directly. So one workaround is that you could show detail data in table and show total in Card like below
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Shamatix
6 years agoPost Partisan
dax
6 years agoCommunity Support
Hi Shamatix ,
I think this is by design, if there is no unique id, it will show value as a group when you use aggregation or you will see all value but no total value. So I think current workaround is that you add an unique column before.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WSlTSUTJUitWBsIzArCQgywTMSoaLpUDUxQIA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type text) meta [Serialized.Text = true]) in type table [name = _t, amount = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"name", type text}, {"amount", Int64.Type}}),
#"Added Index" = Table.AddIndexColumn(#"Changed Type", "Index", 1, 1)
in
#"Added Index"
By the way, you also could submit this requirement in power-bi-ideas
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.