Been writing it the way for years and it makes so much more sense. If only dax formatter would add this as an option!
@olemew Жыл бұрын
Dax studio 3.0.0 includes this feature!!
@mcnater3 жыл бұрын
this is exactly how I've written long SQL queries for years as well. Makes so much more sense. Never understood commas at the end.
@HavensConsulting3 жыл бұрын
It really works so well for commenting :)
@DanielWeikert3 жыл бұрын
Is there actually a way in Power BI to delete all unused measures? The warning which appears for each measure regardless whether it's used or not is not really helpful.
@HavensConsulting3 жыл бұрын
Tabular Editor has a feature to show "unused measures" :)
@DanielWeikert3 жыл бұрын
@@HavensConsulting Thanks is there a video showing this?
@HavensConsulting3 жыл бұрын
@@DanielWeikert I don't have a video showing this. But Tabular Editor has an entire documentation page dedicated to this. :) docs.tabulareditor.com/Best-Practice-Analyzer.html
@DanielWeikert3 жыл бұрын
@@HavensConsulting Thanks have to check. The best practice rules from github I have used before but was not aware there is an option to remove the unused measures as well
@HavensConsulting3 жыл бұрын
@@DanielWeikert yup! It shows unused measures/columns. You can use the code to remove it. Though I typically delete a batch at a time, then check the model to see if there was any breaking changes.
@BernatAgulloRosello3 жыл бұрын
I like comas at the beginning, but I think dax formatter puts them at the end of each line. It would be nice to toggle that somewhere in dax studio