Forum Discussion
Edit relationship in Power BI symantic models
- 9 months ago
Hi viswaaa ,
I think you cannot activate the relationship between Fabric Items and Workspaces directly in the Feature Usage and Adoption semantic model.
Please refer below link for details :
https://learn.microsoft.com/en-us/fabric/admin/feature-usage-adoption
Please give kudos or mark it as solution once confirmed.
Thanks and Regards,
Praful
In Power BI semantic models, if a relationship between two tables (like Fabric Items and Workspaces) is inactive and cannot be activated, usually it's because there is already another active relationship between these tables or model structure does not allow it.
Solutions:
Check if another relationship is already active between the tables. Power BI only allows one active relationship between two tables; deactivate the other one if you need to activate a different one.
If activating is not possible, use the inactive relationship with the USERELATIONSHIP function in your DAX measure. Example:
This way, you can use both tables in visuals by building measures that reference the needed relationship even if it's inactive.
If neither approach works, try combining both tables in Power Query with a merge/join, or create a composite key in both tables for a new relationship.
You can list workspace names with their reports by either activating the needed relationship (if possible) or by using DAX with USERELATIONSHIP for calculations