How to create a filter in powerbi that will dynamically query the db using a SP with a parameter - powerbi

I am trying to run a direct query on my DB and apply a filter input by the user. The user input would be used as a parameter for my Stored Procedure that retrieves the data I want to display to the user. The reason for running a direct query and not just refreshing the data and then the user filtering from all of that data, is that the database is really large and it would make the report file approx. 650mb in size. My idea is that with a direct query, I can pull only the data required through an indexed column that the Stored Procedure uses to filter.
Currently I was able to create a parameter in the Query editor and use it in a query function but this creates an "Invoked Function" table. If I use these results in my report essentially the user can only filter through the result I filtered in my query editor. I want the user to be the one to input that value and the report to dynamically load it.
As far as the filter field, I am using a slicer and added the search capability to it so they can type out the search value and select the result in the list. Ideally I would like a textbox that they can type the value they want and search for it.
Is this possible in PowerBI? and if so how could I accomplish this?

You have to download a separate application called Power BI Report Builder to accomplish this and create a paginated report. See Url below:
Paginated Reports

Related

Materialized view on firebase events data in big query

I have a table in bigquery which fetches data from my firebase events analytics. The table is made in such a way that it appears to create a new table based on the date. But inside the databaseUI it appears as a single table. It changes when I click on it.
For example: Today's table name would be ‘tablename’_<today’s date> and when I use the filter option available in the big query UI for this particular table type. The name changes to ‘tablename'_'selecteddate'.
I want to create a materialized view on the complete/ combine table of all dates. Not just on a table with a particular date.
How can I do it? Can someone please guide me?
The columns I want in Materialized View is even_date, event_name, event_params( key and value) , count of event_params (of key and value both).
I am unable to find a way. So is it possible?
Thank you

Oracle APEX - report download Internal Server Error

I have an interactive grid that displays over 250k records and has more than 30 columns. When I attempt to download the report in csv format, I get an Internal Server Error. How can I get around that? Is there a way to limit the number of records (I know that when there are fewer records it works fine)? Is there a way to automatically split report in two parts and download two separate files?
You can always add filters to your SQL Query, that way the end user downloads the data they really need.
For example:
1. Create some items like Select List.
Enter the proper filter in your SQL Query, as follows:
Include the items in Page Items to Submit.
Create a Dynamic Action to refresh your IG when the end user selects a different value for the items

Is it possible to change OData query, via user input, in Power BI?

I need to create something, which is being used a few times a year.
I need to get the latest rows since the report was used last.
My OData endpoint allows me to modify a timespan, to limit the number of rows I get (if I get all of them, I will get 12+ million rows).
The users aren't going to be knowing anything about Power BI, and I want to avoid them having the change the query manually. What I basically want is a slicer, allowing them to input a date, which will then be parsed into the query, instead of the original value, and then update the table with the new query.
An example of a filter on the OData query, selecting all files from 2020, is this:
Files?$filter=Created%20ge%20datetime%272020-01-01T00:00:00%2b01:00%27&$select=ID,......"
If it is possible, then how would I achieve it?
Slicers can't change queries, except in DirectQuery models. And OData isn't a DirectQuery source. You can build up a dynamic query on refresh, or you can have your users refresh using PowerBI and change a Parameter.

How to implement security in Power BI embedded code?

I have one Power BI file that needs to be embedded in the Power App Portal using Power BI embedded code (iFrame code). I am filtering the iFrame code by applying query parameter filter in the Embedded URL.
The issue is that the value of query parameter can be changed by any end-user who is aware of the value.
For example, if we are passing user id in query string, another user id who knows the values can also change the user id in the same query string.
My question is how to securly pass the parameter in the P-BI embedded? Is there any special encryption method so that the parameter value is encrypted at end user to avoid changing the user ID
You need to implement RLS (Row Level Security). That way, users logging in to view the iFrame will see only data he is supposed to view. You will have to configure roles in power bi-level to determine how data access is determined for each user.
Read This to find out more about RLS.

How can I generate data insight using dynamic query in power Bi

I want to generate a power bi report that will accept a parameter of its dynamic query from user and process the data based on new user Input, is there any possible way to achieve this in power bi desktop?
Pre-Requisite
I am using a data source “http:link.com/{new file name}” where {new file name} is the user input I am accepting from the user.
Data is saved online in csv format and not in power Bi, will be fetched on the execution of query.
What I am able to do
I have created a query that works on data modification in my desired manner, I have to manually update the file name in link used in query, then I have to manually generate the visualization for it which makes it a 3 step process
What I want to do
I want the above manual interaction to be as minimum as possible
If possible, create a dynamic query/ function which will accept the new file name and will apply the query for data modification and based on that data generate the data insight/visualization.