Forum Discussion
smpa01
Community Champion
3 years agoMinify DAX
My current code is like this
EVALUATE
VAR base ={1}
RETURN base
Is there any tool available that kills all the code line brakes.
EVALUATE VAR base = {1} RETURN base
I am w...
- 3 years ago
You don't need to minify anything since you can use multi-line string variables in Power Query
eglet SourceQuery = " EVALUATE 'Product Category'", result = AnalysisServices.Database("localhost\tab19", "Adventure Works", [Implementation="2.0", Query=SourceQuery]) in result
d_gosbell
Super User
3 years agoYou don't need to minify anything since you can use multi-line string variables in Power Query
eg
let
SourceQuery = "
EVALUATE
'Product Category'",
result = AnalysisServices.Database("localhost\tab19", "Adventure Works", [Implementation="2.0", Query=SourceQuery])
in
result