Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I opened a blank report and added a new table:
Solved! Go to Solution.
There was a bug in version 2.139.1733.0 - use a different version. Your example works fine with 2.139.2054.0 , for example
Hi @Anonymous,
Thanks for the reply from @lbendlin, I could not roll back to an earlier version to reproduce your issue, try to update to a new version like lbendlin mentioned and check if it could work on your side.
However, I think we could discuss about why it does not work from the beginning. I think it is a cache issue.
Power BI might not be refreshing its internal state or metadata when you modify the DataTable() function. This can cause it to retain the old logic even after you remove them.
Power BI enforces a constraint that a column used for sorting must have a one-to-one relationship with the column being sorted. When duplicates are present, this constraint is violated, and the error occurs.
Saving, closing, and reopening the report likely forces Power BI to rebuild its internal cache or metadata, which resolves the issue.
If you don't want to update the version, I suggest you use a calculated table instead, which is more reliable.
Table2 =
UNION(
ROW("Name", "X", "Ord", 1),
ROW("Name", "Y", "Ord", 2),
ROW("Name", "X", "Ord", 3)
)
Best Regards,
Qi
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
Hi @Anonymous,
Thanks for the reply from @lbendlin, I could not roll back to an earlier version to reproduce your issue, try to update to a new version like lbendlin mentioned and check if it could work on your side.
However, I think we could discuss about why it does not work from the beginning. I think it is a cache issue.
Power BI might not be refreshing its internal state or metadata when you modify the DataTable() function. This can cause it to retain the old logic even after you remove them.
Power BI enforces a constraint that a column used for sorting must have a one-to-one relationship with the column being sorted. When duplicates are present, this constraint is violated, and the error occurs.
Saving, closing, and reopening the report likely forces Power BI to rebuild its internal cache or metadata, which resolves the issue.
If you don't want to update the version, I suggest you use a calculated table instead, which is more reliable.
Table2 =
UNION(
ROW("Name", "X", "Ord", 1),
ROW("Name", "Y", "Ord", 2),
ROW("Name", "X", "Ord", 3)
)
Best Regards,
Qi
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
There was a bug in version 2.139.1733.0 - use a different version. Your example works fine with 2.139.2054.0 , for example
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!