Forum Discussion
Missing rows when using SUM
- 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.
If you use dont summarize I do not get the Total of the column at the bottom of the table which I want to have, but when I have "Sum" on, it hides some of the rows if I do not have a unique value..
- Shamatix6 years agoPost Partisan
- dax6 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 ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Shamatix6 years agoPost Partisan
Well the table it self has a unique ID, but I dont want the unique ID shown in the table im trying to show the end user as they have nothing to use the ID column for?