Add DAX Code to Measure Descriptions #1345
Replies: 1 comment 1 reply
-
Poster Linda here....I figured it out. It wanted the code first then the Green plus button to save. I thought it was the other way around. The New Tab is called C# Script instead of Advanced Scripting. But otherwise works the same. Should have tried that more before posting. But maybe someone will see this and find it useful. It's great to be able to see the code especially if you are working with a share dataset since you don't get the see the code behind the measures, which is what I had. Any other comments welcome or suggestions for the newby. I haven't done the training, but haven't found a lot of videos for individual learning of tasks either. Still feeling my way around. |
Beta Was this translation helpful? Give feedback.
-
Newby here. Did this in TE2, where to add into TE3?
Found this code for adding into TE2 and works fabulously to add the DAX code into the description field for measures and another slightly different code for the calculated columns. I use it every day and due to a new computer I have to reload this. The new version of TE2 doesn't seem to have this is the same place as my version (2.16.6) and I've just gotten TE3 and haven't figured out my way around yet.
Can someone tell me in TE2 (2.25.0) or TE3 (3.16.2) where I add this to make it work since it's not the same anymore? TE3 probably would make the most sense so I'll start to use it. But either way....I love this option. I just don't know enough of how to use TE3 yet.
For Measures:
Goes here as a Custom Sample Script. (At least how the video I used told me how to use it. Brunner BI 2021, https://en.brunner.bi/post/time-saving-scripts-in-tabular-editor-3):
For Calculated Columns:
Beta Was this translation helpful? Give feedback.
All reactions