Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormatDAX button disabled #1201

Open
rvgfox opened this issue Dec 15, 2023 · 5 comments
Open

FormatDAX button disabled #1201

rvgfox opened this issue Dec 15, 2023 · 5 comments
Labels
issue: awaiting reply More information is needed

Comments

@rvgfox
Copy link

rvgfox commented Dec 15, 2023

Description

As you can see in the image the formatDAX button it's disabled.
Why?

Tabular Editor 3 Version

3.12.1

Screenshots

image

Steps to Reproduce

No response

Expected behavior

No response

Crash Report

No response

Windows Version

No response

@rvgfox rvgfox added the template: issue Issue report created by user, needs to be triaged label Dec 15, 2023
@mlonsk
Copy link
Collaborator

mlonsk commented Dec 15, 2023

Hi @rvgfox
It looks like you have selected a C# Script (.csx) from your screenshot.

A C# script cannot be used to format DAX, which is why the option is greyed out.

@mlonsk mlonsk added issue: awaiting reply More information is needed and removed template: issue Issue report created by user, needs to be triaged labels Dec 15, 2023
@rvgfox
Copy link
Author

rvgfox commented Dec 15, 2023

No, the problem it's the same with the measures:

image

@mlonsk
Copy link
Collaborator

mlonsk commented Dec 15, 2023

It looks like there is still a script selected somewhere given the script toolbar buttons that you have available:
image

Or TE's toolbar has somehow gotten stuck on that option, as it is not something I can reproduce on my end.

Could you try resetting your layout with Window-> Default Layout or if that doesn't work deleting he layouts.json file in %LocalAppData%\TabularEditor3 and restarting Tabular Editor?

@rvgfox
Copy link
Author

rvgfox commented Dec 18, 2023

Deleting the layouts.json it works. But moving the windows to get "my layout" it doesn't works.

@mlonsk
Copy link
Collaborator

mlonsk commented Dec 18, 2023

Hi @rvgfox
I am not sure I understand the final comment on moving the windows.

Does the issue reoccur when you move the windows to different locations. If so could you share your Layout.json file where the issue occurs so we can reproduce and debug the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: awaiting reply More information is needed
Development

No branches or pull requests

2 participants