Forum Discussion
Visual Legend - Repeated indices found in GroupBy or Projections
- 6 years ago
Dear v-lionel-msft,
I apologize for the late reply. Oddly the enough, the problem seems to have fixed itself. What seems to have triggered the correction was the use of DAX Studio to export the tables one by one. I'm assuming this was a memory key allocation conflict by PowerBI from using multiple append queries, but I can only assume.
Once again, thank you for your help.
- Anonymous5 years ago
Ran into the same error here and fixed it by removing the conditional color before applying the legend. I think the reason for this case is that, some conditional colors have already been applied, and adding a legend column will triggers another usage on multiple colors. Then there's conflict on the color applying rules, and Powerbi just couldn't determine which rule to use for the colors. To solve such confict, you could just give up on either the legend or the conditionale color.
Hi,
Have a similar issue when for the given table:
| Date | Category | Col 1 | Col 2 |
| 1/1/2020 | 1 | 123 | 21 |
| 1/1/2020 | 2 | 143 | 32 |
| 1/1/2020 | 3 | 123 | 12 |
| 1/2/2020 | 1 | 234 | 32 |
| 1/2/2020 | 2 | 432 | 43 |
where I calculated the measure X=Divide (sum(Col 1), sum(Col 2)).
When I drag the column Category to the 'legend' box of a line chart (with date as 'axis' and X as 'values') I get the error message "Repeated indices found in GroupBy or Projections"
Thanks for your help