mgirvin
Well-known Member
- Joined
- Dec 15, 2005
- Messages
- 1,245
- Office Version
- 365
- Platform
- Windows
Dear Team,
I am trying to use SAMEPERIODLASTYEAR in CALCULATE. My formula did not work because I cannot have a relationship between the Data Table and the Fact Table. So I was intending to use an inactive relationship and then activate it with the USERELATIONSHIP function, but when I checked the formula it was working without having to use the USERELATIONSHIP function in CALCULATE. Has Power BI Desktop updated to let functions automatically use an inactive relationship, if that is the only relationship from the Date Table to the Fact table?
To repeat: My CALCULATE SAMEPERIODLASTYEAR Measure works when I create the inactive relationship and I DON"T use the USERELATIONSHIP function. Then when I delete the inactive relationship, the Measure does NOT work.
Any ideas?
Sincerely, Mike Girvin
I am trying to use SAMEPERIODLASTYEAR in CALCULATE. My formula did not work because I cannot have a relationship between the Data Table and the Fact Table. So I was intending to use an inactive relationship and then activate it with the USERELATIONSHIP function, but when I checked the formula it was working without having to use the USERELATIONSHIP function in CALCULATE. Has Power BI Desktop updated to let functions automatically use an inactive relationship, if that is the only relationship from the Date Table to the Fact table?
To repeat: My CALCULATE SAMEPERIODLASTYEAR Measure works when I create the inactive relationship and I DON"T use the USERELATIONSHIP function. Then when I delete the inactive relationship, the Measure does NOT work.
Any ideas?
Sincerely, Mike Girvin