TabularEditor / TabularEditor3

Bug reports, feature requests, discussion and documentation for Tabular Editor 3 (commercial version).
64 stars 7 forks source link

Debug not available - caused by format strings? #1377

Open edhans opened 2 days ago

edhans commented 2 days ago

Description

I was running a fairly simple query and when trying to use the debugger, it was unavailable. I deleted the format string part of the query: IGNORE('Table'[Measure Name FormatString])

And then I was able to debug. Is this a known issue, just a fluke with this query? The FSE is very simple but it does use SELECTEDMEASURE() as I need to blank out the FSE if the measure returns blank.

Does it thing a Calc Group is in play?

Tabular Editor 3 Version

3.17.0

Screenshots

No response

Steps to Reproduce

No response

Expected behavior

No response

Crash Report

No response

Windows Version

11

otykier commented 1 day ago

Confirmed as a bug. I think the issue here, is that our semantic analyzer thinks that the reference to the FormatString in the DAX is an error:

image

Unfortunately, the debugger won't work if the semantic analyzer thinks there's an error in the code. We'll look into it.