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!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
I get an error "Sequence contains more than one matching element" when apllying.
There are only two tables in the report. One is created by code on dax
Solved! Go to Solution.
Solve problem. I save file to .pbip format and delete all files in SemanticModel\definition\tables\. In this folder was old defenition of tables.
Solve problem. I save file to .pbip format and delete all files in SemanticModel\definition\tables\. In this folder was old defenition of tables.
Double-check your DimDate table for duplicate date entries.
You can use the following DAX formula:
DuplicateDates =
VAR Dates =
DISTINCT(DimDate[Date])
RETURN
FILTER(
DimDate,
NOT(Dates = EARLIER(Dates))
)
Table DimDate added via this code:
there can't be duplicates.
@Anonymous Something is jacked up with that PBIX file. I would recommend turning off all preview features and then recreating that report from scratch. If I disable loading on the Table query and then try to delete the DimDate table, I still get that same error.
You could check the Issues forum or open a support ticket but something isn't right about that PBIX file.
I have attached the stack trace