Forum Discussion
Unable to delete measures after changing data source location
- Anonymous3 years ago
Yes exactly!
And I did find a solution just a couple of minutes ago.It might be a bug inside Power BI or just my own low level of brain capacity hah
The scenario was that the PBI report had some measures with the same name as the new Live PBI dataset that I connected to. This led to having measures with duplicate names and PBI doesn't like that, which resulted in one of those measures to be 'broken' as on the picture.
Even though I was not able to delete the broken measures directly, as it simply gave me an error, I was still able to rename the broken measures and then delete them 🙂
Have you tried deleting them with Tabular Editor?
Pat
That's actually a good idea, unfortunately the issue is in the PBI report that is conected to a PBI dataset, in which case the Tabular editor doesn't work. It works on the dataset report itself, however there is no issue there, its only on the visual report that connects to PBI dataset.
- Anonymous3 years agoNot applicable
sorry, but to confirm are you trying to delete these measures out of a PBIX that has a live connection to a published dataset?
- Anonymous3 years agoNot applicable
Yes exactly!
And I did find a solution just a couple of minutes ago.It might be a bug inside Power BI or just my own low level of brain capacity hah
The scenario was that the PBI report had some measures with the same name as the new Live PBI dataset that I connected to. This led to having measures with duplicate names and PBI doesn't like that, which resulted in one of those measures to be 'broken' as on the picture.
Even though I was not able to delete the broken measures directly, as it simply gave me an error, I was still able to rename the broken measures and then delete them 🙂- Anonymous3 years agoNot applicable
good job on the find, it was going to be my next suggestion. I was making the assumption you were working inside of a PBIX where you had imported data, not done a live connection.
as an FYI it's not a bug. Depending upon organisational structure a published dataset could have measures and calculated columns built into it for all content creators to access. If the dataset is governed and shared with multiple content creators (single source of truth etc.) then PBIX files that create a live connection to the dataset can not create calculated columns, but only measures.
Measures published in the original dataset will be available for all users, however measures created on your live connect PBIX will only be accessible and visible to users who have access to your unique PBIX file.
If there's a conflict the resolution is to re-name the measure (as you have done), or access the dataset and rename/delete the measures in the dataset file.