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

Code Actions Split Multi-column Deletes Instead of splits. #1400

Open
eperks-Flynnrg opened this issue Nov 22, 2024 · 1 comment
Open

Code Actions Split Multi-column Deletes Instead of splits. #1400

eperks-Flynnrg opened this issue Nov 22, 2024 · 1 comment
Labels
issue: bug Confirmed as a bug in TE3

Comments

@eperks-Flynnrg
Copy link

Description

Using the code actions "Split multi-column filter into multiple filters" deletes filters in this certain case.

Code used.

CALCULATE (
DISTINCTCOUNT ( 'Table'[Key] ),
'Table'[Type]
IN { "Red", "Blue" }
&& 'Table'[Field1] = FALSE ()
&& 'Table'[field2] = FALSE ()
)

M Query for example table.
let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WMjQyVtJRCkpNAZIhRaWpQMotMac4VSk2FgA=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Key = _t, Type = _t, Field1 = _t, field2 = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"field2", type logical}, {"Field1", type logical}})
in
#"Changed Type"

Tabular Editor 3 Version

3.18

Screenshots

Capture3
capture2
Capture1

Steps to Reproduce

Clicked on 'Table'[Type] row to use code action.

Expected behavior

This should split the filters instead of delete

Crash Report

No response

Windows Version

Windows 10 Enterprise

@eperks-Flynnrg eperks-Flynnrg added the template: issue Issue report created by user, needs to be triaged label Nov 22, 2024
@eperks-Flynnrg eperks-Flynnrg changed the title Code Actions Deletes Code Actions Split Multi-column Deletes Instead of splits. Nov 22, 2024
@mlonsk
Copy link
Collaborator

mlonsk commented Nov 27, 2024

Hi @eperks-Flynnrg

I have reproduced the behavior, and there indeed seems to be a bug here.

We will look into getting it fixed. Thank you for reporting it.

@mlonsk mlonsk added issue: bug Confirmed as a bug in TE3 and removed template: issue Issue report created by user, needs to be triaged labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Confirmed as a bug in TE3
Development

No branches or pull requests

2 participants