Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I need to change this calculated column to use an inactive relationship between my date table, and the date mentioned below. Previously, I had this as an "active" relationship but have since made it inactive. Having a hard time getting userelationship to work but I know that a Calculate statement may need to be included somewhere. Any suggestions?
Hello
If you could send a sample .pbix that demonstrates what you are looking to get. It would really help to provide you with a quick solution.
You can send the sample .pbix file by adding it to your drive or dropbox and add the link here.
Regards
Kumail Raza
Here is the full code, but I cannot share the file. Actually the formula is working.
However, when I try to create a "group" from this column, I am getting a circular reference error and I need this group for something else. The circular error reference is referencing the SF_Opportunity Line table, which is not related directly to the Date Table (the Date Table is directly related to the SF_Opportunity table, and the Opportunity Line table is related to the Opportunity table).
You can use USERELATIONSHIP() dax function to activate inactive relationship when you have multiple relationships between table in your model.
In order to have a working solution, you may need to send the .pbix file if the above still doesn't solve your problem.
Regards
Kumail Raza
Did this help? Kudos are appreciated.
Consider Accept it as the solution to help the other members find it more quickly!!
You can use USERELATIONSHIP() dax function to activate inactive relationship when you have multiple relationships between table in your model.
In order to have a working solution, you may need to send the .pbix file if the above still doesn't solve your problem.
Regards
Kumail Raza
Did this help? Kudos are appreciated.
Consider Accept it as the solution to help the other members find it more quickly!!
@Kumail @amitchandak The expected output is the result of the IF statements in the formula. All I'm needing is to know how to incorporate UseRelationship into my VAR statement. I'm thinking it might be the cause of the circular error that I am getting when I try to create a group from this calculated group.
Previously my date table was connected directly to the Opportunity Line table, and now it is connected to the Opportunity table (the header table for Opportunity).
So, my idea was to try and utilize UseRelationship in my VAR statement to see if that helped.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
81 | |
75 | |
60 | |
37 | |
33 |
User | Count |
---|---|
102 | |
56 | |
52 | |
46 | |
40 |