Is there any way to search for text in all the measures?
For example - suppose I want to find whether ColumnX is used in any measure then currently I have to look into each measure, is there a better/quicker way?
There are Power BI External Tools which will allow you to do that, for example this one - Document Model.
Or you can save your .PBIX report as a template (.PBIT), unzip it and look at the DataModelSchema.json file, where all measures are in plain text (more details here). According the OP, for Live connection reports, these can be found in Report\Layout file.
Related
I have a setup where I consume live from Analysis Services, therefore my Power BI desktop is a bit limited, in terms of what I can do there:
Usually, the SSAS I consume from, has thousands of measures, and I only use a subset of them…
Is there any way of knowing, fore example if measure X is used in any of the pages of the .pbix?
Given a column or measure; I was wondering if there is any way of quickly knowing if it is used in any visual or filter in any of the pages of the pbix...
I think you can tackle this using an external tool such as Power BI Helper.
The documentation part is where you should look at.
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.
I am trying to find an answer if it possible to automate creating powerBI reports for each unique value in one of columns(It's like filtering on whole report for one of the values and publish report than change value to next one and repeat steps for other values)? Is there any fast way to do it? I wrote program to filtering via link and clicking mouse than save links for each person to excel but i wonder if there is more reliable and faster way to do it. I am using PowerBI premium for user.
This is typically called "Report Bursting", or "Data Driven Subscriptions", and here's a walkthrough of how to do it with Power Automate and Power BI.
Why don't you leverage RLS instead of hardcoding filters?
I want to read data of report on the server,there are api calls to get list of reports(GET api.powerbi.com/v1.0/myorg/reports{reportKey}),In the same way can get data of a report in json format using restapi?
I think in a word "No". At least not from what I am reading from the API Endpoints documentation here: https://learn.microsoft.com/en-us/rest/api/power-bi/
In the end -- I think what you really want is the data behind the report, not the visualizations - Right? Power Query is an Excel based tool (from Microsoft) that retrieves data much in the same way Power BI does. I think that may be what you want.
If you really need a JSON representation of the data from there, you can do a little "VBA" work to reformat the data you pulled in via Power Query.
Hope this helps
Will make this short and sweet - we have a massive .CSV that we are linking to PBI Desktop. Some of the header names in this .CSV were not optimal and have since been updated by the SQL backend. However, PBI is not happy with not being able to find the exact header that existed previously, and we could not find a route by which to tell the software that a header name had changed. Is there a quick solution for this?
Here is an idea to work around this issue,
as long as your header are changing, I recommend you to do these step in power query:
search on your power query the step where the headers are promoted
instead of this step, delete the first row (the one containing the headers)
Then add a step renaming the header as desired
Hope that helps
Quick.. Not so much. Easy? Relatively.
You'll need to manually edit the PowerQuery in the Advanced Query side.
I recommend un-hiding the formula bar in the Query Editor and going step by step through the applied steps. Once you find a broken step, check out the PowerQuery, you'll see your no longer existent fields there as plain text in the formula bar ( or advanced editor view ). Swap out the old field names in the PowerQuery with the new names and you should be golden.
You might even get away with a few find/replaces..
You can fix this if you delete your top rows in your first row operation in query editor. This way the CODE of your power BI query will not contain a specific name and will name your columns: 'column 1' ; 'column 2' etc.etc.
You can now edit to your own demands and when you change datasource nothing will go in error.
Hope this helps for people who are also looking into the problem.