Skip to content

If a PBIX/PBIP model has a space hyphen space ( - ) in the file name, all characters after the LAST hyphen will not show in the header of TE2 and TE3 #1526

@BeSmarterWithData

Description

@BeSmarterWithData

Description

!!! Please make sure you're using the latest version of Tabular Editor 2.X before submitting a bug !!!
!!! For Tabular Editor 3 issues, go here -> https://github.com/TabularEditor/TabularEditor3/issues !!!

Describe the bug

When a PBIX model is named something like "Dev - Model", when you connect to it via External Tools OR via a Local Instance, the name that shows will only be "Dev".

It cuts off the last hyphen from the header name. If there is more than one hyphen, it will cut off the last scenario.

  • Model-Dev (No Issue, shows full name)
  • Model -Dev (No Issue, shows full name)
  • Model - Dev (BUG, only shows "Model")
  • Model - Dev - Name (BUG, only shows "Model - Dev")

I have tried with other special characters....the space hyphen space is the only one that appears affected.

Image Image Image

To Reproduce
Steps to reproduce the behavior:

  1. Name any PBIX or PBIP and name it anything but add a space hyphen space between words.
  • MODEL - NAME.pbix
  • MODEL - NAME.pbip

and also try

  • Model - Name - Test.pbix
  • Model - Name - Test.pbip

Connect to Tabular Editor 2 or 3 through the external tools or through a local instance - only the word "MODEL" will show for the first test, and only Model - Name in the second test

Expected behavior
The full name of the connected model is expected in the header of the App.

This is especially important if multiple sessions are opened, but the model names all look the same in TE2 and TE3

Observed behavior
A clear and concise description of what happened. Include any error messages or stack traces if possible. Also, feel free to add screenshots or recordings showing the problem.

Application specifics

  • Tabular Editor 2.27.2 and Tabular Editor 3.24.2

I have noticed this for a long time, but it never clicked what was happening until today, when I forgot a space in one of the names of my files, and it showed the full name in TE

Tabular Editor 3 Version

3.24.2

Screenshots

No response

Steps to Reproduce

No response

Expected behavior

No response

Crash Report

No response

Windows Version

No response

Metadata

Metadata

Assignees

Labels

issue: bugConfirmed as a bug in TE3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions