I have to take charge of power bi's reports and there are really a lot of measures. Many of them are test measures that are useless and I would like to delete all unused measures. Is there a method to do this easily or should each page of the report be reviewed for each measure if it is used?
Radacad has created a power bi cleanup tool. This should do what you require.
PowerBI Helper
Radcad's tool is good, but it won't actually let you delete the measures. It shows you the tables that aren't used in the visualizations so you can hide them. But I can't find a way to see any unused measures, much less delete them.
Go to Model view -> under Fields, select multiple measures to be deleted by holding CTRL/Shift key, press delete button. I encountered the same issue and resolved it by changing the view in Power Bi. I hope this is applicable on your end too.
I found this online... it looks like it might be a useful hack.
With the option Enter Data, you can quickly create a new empty table to place your test measures.
After testing, move the correct measures to a final table and remove the test table with all other measures.
https://community.powerbi.com/t5/Desktop/Best-way-to-delete-multiple-measures-in-tables/td-p/415716
This feature is already available in the model view.
If you go to the model view, by clicking on expand button for the data table where you want to delete a group of measures the list of all columns and measures will be displayed. Then you can use CTRL or shift buttons to select multiple measures. After the desired selection, by right clicking over it you have an option "Delete from model" to delete the selected measures at once.
Hope this solves your problem.
Related
I have a Power Bi dashboard that looks like this:
But I dont want all the rows of everyone's data to show up. Ideally its single select only, these results look great when only Elizabeth is selected (not sure why screenshot looks like two people):
Because I want to stack quite a few other tables in the dashboard that are one row only, like so:
So my question is: how can I force the name slicer on the left to ONLY allow one person to be selected, and never be 'not' selected where lots of people are involved? Does that make sense?
That is a table and not a slicer. Tables will display everything you ask them to. If you switch it to a slicer, you can make it single select.
I am trying to siff through a large PBI report and for that I want to be able to determine the active measures and tables in the data model. In others words, I wanna be able to see what's being used from what's unused or obsolete in the model.
Is there, by any chance, a shortcut for that?
Thanks in advance
I think what you are after is RADACAD's amazing PowerBI Helper Utility.
This utility, once installed, is integrated in to the PowerBI external tools ribbon.
See the section at the link above around removing unused fields and measures.
Remove Not-used fields If there is a field not used in any visual, filter, or other calculations, then this is a safe field to be
removed. Power BI Help can identify these fields even if they are DAX
calculated columns or measures. Using the dependency tree of the
measure, it will identify if the field is used in another calculation
that is used in a visual or filter.
Tableau automatically groups measures together but Power BI Desktop doesn't natively support this. I find it annoying to have to place measures under imported tables as the measures don't really belong to those "parent tables" (and quite often take input from multiple tables — which one would you consider the "parent"?)
So I experimented with some workarounds and I'm sharing the successful (as of the date of this post) ones here:
Method 1 (recommended): "Model" view > "Enter data" to enter a manual data table. Give a name like "_Measures_" so it appears on top of tables, and keep only the default dummy column "Column". Create/move measures under it, then right click to delete that "Column". Now you're left with a blank table that groups those measures under it.
Method 2: "Data" view > "New table" to create a DAX calculated table. Rest the same as above, except that for a DAX calculated table you can't delete the dummy column but instead you can hide it.
You can also "Enter data" using Power Query Editor but I don't recommend going with that extra step -- workarounds are supposed to be quick (and dirty) anyways!
Final results look like this (note the difference of the icons):
1.I have a bookmark built on selected visuals.
How to identify the selections used to create that bookmarK
Bookmarks only make certain selections in/visible so you can go through them and observe which one change their nature.
If you have only one, create one with full visibility to see which ones are being adjusted.
It's far from neat, like a list that you are probably looking for, but I'm not aware of any such option in PowerBI
When I work in Power BI Desktop connected to SQL Analysis Services, my model looks like this,
Enter image description here
And the "Fields" tab on the right spans for more than a page long:
Enter image description here
In reality I actually use only a few tables and a few columns in those tables + my measures.
To simplify that look, I can go to ellipses near each tables title, and hide that particular table. I also can do this on "model" tab, but in my case, when I have a few dozens of tables, it is time consuming.
Is there a way how to "hide" all not used tables and columns, to help report consumers to comprehend the model and my calculations?
You can also easily hide multiple fields in Power BI Desktop. The best place to do that is to go into the Model tab. Then select all fields that you want to hide (using Ctrl or Shift with selection), and then in the Properties tab beside it, turn the Is Hidden property to On.