Forum Discussion

lpriceFTW's avatar
lpriceFTW
Icon for Helper II rankHelper II
3 years ago
Solved

PBI aggregating rows incorrectly in Table visual despite "Don't summarize" selected

I have a Table visual which is just showing all fields from the underlying table. It will be useful for exporting filtered views to Excel.   The problem is PBI is aggregating rows with duplicate da...
  • lbendlin's avatar
    3 years ago

    your rows are not unique. Add a primary key column (like an index) to your data AND to the visual.

     

    Power BI visuals will ALWAYS aggregate/group by default.  That is different from the "Don't summarize" topic.

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi lpriceFTW ,

    Please try to add a new column, sunch as Index column, the key point is this column value should unique:

    Table:

    Table visual:

    Please refer the attached .pbix file.

     

    Best regards,
    Community Support Team_Binbin Yu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • lpriceFTW's avatar
    lpriceFTW
    3 years ago

    Hi Anonymous,

     

    I ended up doing this and it did fix the visual.

     

    I still think this is very poor designing on Microsoft's part. My main complaint with PBI forcing aggregation, is that it is very difficult in the design stage to mess around with PowerQuery. This dataset contains 260,000,000 rows so it took almost all day to refresh the query after the index column was added. Would be so much simpler if Microsoft allowed users to bypass this.

     

    My other issue I had was that PBI was not summing the aggregated AMT field. Do you know why this is? Even when I changed the AMT field in the table visual, it was still showing a single value rather than the sum of all aggregated values.

     

    Thanks,

    Logan