Drag and Drop multiple measures into the Expression Editor #1518
MarioMue13
started this conversation in
Ideas
Replies: 1 comment
-
|
Hi @MarioMue13 That's a great idea, actually. While not exactly what you ask for, something that comes very close is creating a macro that puts the current selection into the clipboard, as a string that you can paste directly into your DAX expression. You can then assign a custom shortcut to that macro. Something like this should do the trick: using System.Windows.Forms;
// Constructs a string that looks like "[Measure A], [Measure B], [Measure C]", based on the
// current selection in the TOM Explorer, and then copies that string to the clipboard:
var dax = string.Join(", ", Selected.Measures.Select(m => m.DaxObjectName));
if(!string.IsNullOrEmpty(dax))
Clipboard.SetText(dax); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe
When creating calc groups you often need to put x measures into the ISSELECTEDMEASURE(). And currently you have to do this measure by measure
Describe the solution you'd like
I would appreciate a drag and drop multiple measure into the expression editor.
Goals
Background
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions