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.
Hello,
I have a relationship between a DateDim table (Import) to a OrderFact table (Direct Query).
I'm then calculating the amount of time between two dates, excluding weekends. Calculated column below with error message:
It seems as if there is an issue with the relationship so I went and looked to find this:
I've never seen that type of annotation before for relationships. Without knowing what the opposing carrots mean, I cannot really figure out a resolution.
In addition, to double check on the relationship, I created a table with all of the date fields, which all worked and lined up correctly. For some reason, I cannot enact the calculated column though. I either get the error above, or I get "Calculate is not a function" and that there is no relationshiop between the date columns.
I'm at a total stopping point, any help is appreciated.
Thanks!
Solved! Go to Solution.
@Anonymous,
Numerous DAX functions are not available in calculated columns when using DirectQuery. Examples include CALCULATE and DATESBETWEEN. As far as the caret symbols in the relationship, it's my understanding that this is the notation when joining an Import table to a DirectQuery table.
Proud to be a Super User!
@Anonymous,
Numerous DAX functions are not available in calculated columns when using DirectQuery. Examples include CALCULATE and DATESBETWEEN. As far as the caret symbols in the relationship, it's my understanding that this is the notation when joining an Import table to a DirectQuery table.
Proud to be a Super User!
User | Count |
---|---|
84 | |
76 | |
74 | |
49 | |
39 |
User | Count |
---|---|
114 | |
56 | |
51 | |
42 | |
42 |