Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Solved! Go to Solution.
I believe it is because of this part: "IF(RELATED(DIM_B[Occupation])," since the first argument of an if statement should be a logical test.
Formatting the code would certainly make it easier to help. I think @JorgePinho is right about the bit he's highlighted, what were you expecting that to do/test for?
Consider using a SWITCH statement instead of nested IFs. It can make the logic much simpler.
Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
If you found this post helpful, please give Kudos. It gives me a sense of instant gratification and, if you give me Kudos enough times, magical unicorns will appear on your screen. If you find my signature vaguely amusing, please give Kudos. | Proud to be a Super User! |
I believe it is because of this part: "IF(RELATED(DIM_B[Occupation])," since the first argument of an if statement should be a logical test.
User | Count |
---|---|
101 | |
90 | |
78 | |
71 | |
69 |
User | Count |
---|---|
110 | |
96 | |
95 | |
74 | |
71 |