TabularEditor / TabularEditor3

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

Macro Recorder doesn't capture deleted Measure or M Tables #1336

Open SharmaAntriksh opened 1 week ago

SharmaAntriksh commented 1 week ago

Description

When using Macro recorder if you delete Measures, M Tables, Calculated Columns then they aren't captured, in fact if you delete the Fact table but then use the Revert and Reload metadata option the UI starts giving errors on the Fact Table even though changes weren't made to the SSAS Tabular database.

Is this intended behaviour? Because I haven't used Macro Recorder in years and I use Visual Studio for C# related stuff and then just move the script into TE.

Tabular Editor 3 Version

3.2.16

Screenshots

No response

Steps to Reproduce

No response

Expected behavior

No response

Crash Report

No response

Windows Version

Windows 10

otykier commented 1 week ago

Hi @SharmaAntriksh I can confirm that there is a bug in which the macro recorder doesn't generate code for deleting objects. We'll make sure this is fixed.

As for the other issue you mentioned (errors on the fact table), I am not able to reproduce this. Could you specify exactly the steps taken to trigger this issue? Thank you!

SharmaAntriksh commented 1 week ago

Thanks, I figured out that if you have a Details Rows Expression code and you delete the table in which it resides and then revert the change then it throws error.

https://github.com/TabularEditor/TabularEditor3/assets/73054674/0df6a1a9-e428-4bfc-92b5-50f561609482

otykier commented 1 week ago

Thanks for these additional details. This seems to be a separate bug, unrelated to the macro recorder. We'll look into that as well!

SharmaAntriksh commented 1 week ago

Yup, until yesterday I thought it was happening while recording Macro so I added in the same issue :)