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

Find and Replace Issue #744

Closed
jebellingham opened this issue Jan 28, 2021 · 2 comments
Closed

Find and Replace Issue #744

jebellingham opened this issue Jan 28, 2021 · 2 comments
Labels
bug Anything that is supposed to work, but doesn't.
Milestone

Comments

@jebellingham
Copy link

Hello & firstly thank you @otykier for creating such a useful application - I am not a developer, so please forgive my use of incorrect terms etc. My issue is with using Find and Replace. I am trying to use this feature to replace one element of an expression and what I am discovering is that whilst the Find feature will find the string of text, Find and Replace will not highlight the same text, or will not find it at all.

To trigger the error;

  1. I click on the measure with the text I want to replace
  2. Click within the Expression Editor
  3. Find / Find and Replace become available
  4. I click the Find icon and enter the text, then click Find, it finds the text as expected
  5. However, if I copy the text I entered into the Find function, close the dialog box, then click on Find and Replace, it does not find the same text. It tends to highlight text on the same row before the text it should highlight, on other expressions with the same text string, it may not find anything at all
  6. Sometimes clicking on the Format Dax icon and toggling between Long Line and Short Line seems to temporarily fix the issues, but not always

Expected behaviour would be for the finding part of Find and Replace to work the same as Find.

There are no error messages

Thank you once more for developing this very useful application, apologies for my poor use of terminology.

I am using version 2.13.7643.22890 which I believe is the most recent version
Power BI Desktop Version is 2.88.1385.0 (December 2020)

@jebellingham jebellingham added the bug Anything that is supposed to work, but doesn't. label Jan 28, 2021
@jebellingham
Copy link
Author

1-Find

2-Find_and_Replace

@otykier otykier added this to the 2.14.0 milestone Feb 1, 2021
otykier pushed a commit that referenced this issue Feb 1, 2021
@otykier
Copy link
Collaborator

otykier commented Feb 1, 2021

Fixed in 2.14.0.

@otykier otykier closed this as completed Feb 1, 2021
otykier pushed a commit that referenced this issue Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Anything that is supposed to work, but doesn't.
Projects
None yet
Development

No branches or pull requests

2 participants