Glitch using drillthrough and action - powerbi

I am having trouble with a Power Bi report I have built on the desktop version.
I have a page with a graph and a button and a second page with a table of data. The button has an action to go to the bookmarked data page and the graph has a drillthrough linked to the data page.
When I open up the report and click on the button, it works correctly, then I click on the graph drillthrough and that works correctly too. But, when I then go back to the button and click it again, it shows whatever was last showing on the drillthrough from the graph. I have to exit the report to be able to show the full table using the button.
I have tried removing ticks from the bookmark, I have removed data and display, but this hasn't fixed it. I am new to Power Bi so I am not sure what to try next.

As I suggested in comments, the default bookmark settings that include data and page should work for your case. I have done exactly what you described in your post. I have two pages: Page1 with summary chart and bookmark button; Page2 which is a drill-through.
I have configured a bookmark with default settings and saved it on the drill-through page with no filters applied. I then do this:
Page1 drill-through to store=500
See Page2 filtered
Navigate to Page1
Click bookmark button
See Page2 unfiltered.
Here is my bookmark config. Note the bookmark was saved on the drill-through page with no filters applied:
Here is what I see when I drill-through on store 500:
And then I navigate to page 1 again. I click on the button attached to the bookmark and I see this on the drill-through page:

Related

How to show blank data until refresh for direct query in power bi

I have created one report from Direct query.
Now the requirement is when we open the report, it should show blank data until user refreshes it.
When the user refreshes it the data should be shown.
How can I achieve this?
You can emulate this with some tricks:
Create a bookmark with no applied filters
Create a button and assign this bookmark as the button action
Filter your page to show nothing (apply some bogus filtering)
Save and publish report
This should make the report show nothing by default, and when the user clicks «show data» or whatever text you put on the button, the user is moved to the bookmark without any data filters, so the data is shown.
Outside of this method I can’t think of other means of showing data only when the user clicks refresh.

Interactive filters set on page load only show up after manual refresh

I am setting up dynamic filters for the IG using new APEX_IG package method add_filter. So from Page 1 I click oin the link to go to Page 2 where I have interactive grid. Through that link I set a couple of page items on page 2 and based on those items I create filters using APEX_IG.ADD_FILTER. So the setting of the filters has to be done on PAGE_LOAD.
On page load I use a DA that calls APEX_IG.ADD_FILTER if a specific page item is not null. When I open the page first time, I do not see the filters applied, they only show up after I manually refresh the page. I added a refresh action for the IG after executing ADD_FILTER but that does not do anything - in order to see the change I still have to manually refresh the page.
I cannot add any refresh action or submit page action under page load since that will refresh the page repeatedly. What is the best way to programmatically refresh the page after applying or removing the filters?
If the issue is just on page load, you could add the call to APEX_IG.ADD_FILTER in a pre-rendering page process instead of a dynamic action. This works fine for me. This blog also explains that a full page refresh is needed.

Oracle APEX form on table, don't reset table pagination after changing values through the form

I have a form on top of a report, and when the user updates values in the report, the form pops up, they make edits, and then click "Apply Changes". There are many rows in the report and right now I have pagination set per every 15 pages. The report is set to enable partial refreshes so the data updates right after the user clicks "Apply Changes". However, if I am on any page other than the first page of the report, it resets the pagination and brings me back to the first page. Is there a way to update the report but stay on the page I'm making the edit for? That way the user can immediately see the change they made through the form.
I was able to solve the issue by using a Dialog Closed dynamic action executing the following javascript:
window.location.reload(false);
It refreshes the browser after the user makes edits, and the pagination does not reset. This is a workaround because the Refresh dynamic action resets pagination. Again this is in APEX 5.1.3.
Which Apex version do you use? I've just tried it on apex.oracle.com which runs Apex 20 and - no problem at all. Once I edit some value in a form, branch returns me to interactive report, to exactly the same page which I left.
Check branch's Behavior - it is set to redirect to page or URL, target is page where the interactive report is; check other properties for the target. Its action should be set to "None" (offered are: clear regions, reset regions, reset pagination which might be set in your branch properties).

Retool: Action button to open modal with container

I have a table in retool. I've added an "action" column with buttons and renamed them "edit". What I would like to do on click of the action button is to open a modal with the data in the row populated. A user should be able to see the values of the row, edit them and when he clicks "submit" it will send an update API call for that row's unique id.
We’re working on some new docs for modal components, but until then here’s what you can do:
Drag a modal component onto your canvas. It’s going to appear as a button that opens a model, but don’t worry about that just yet
Create a Javascript query in the query editor that opens the modal. If we’re working with the default names, your query would be modal1.open()
Configure the action button in your table to run that JS query on click
That’s a quick way to open a modal through an action button. In terms of what’s in that modal, you can drag any components you want and reference table properties. So if you wanted to display a user’s email, you could drag a text component into the model and set its value to table1.selectedRow.data.email.
The last thing to deal with is the button, which you probably don’t want since you’re opening the modal via action buttons. You can hide it by clicking on it, heading to the inspector in the right sidebar, and scrolling down to the “display” settings. Just put true into the “Hide when true” field and the button won’t show.
hello stack overflow family this is my first post.
we are facing same issue today so i used one trick for opening a modal in action, i run one query that query name is model_open and in success event i select modal open and this query is triggered in Action edit option ,
i hope my first post help you ... :)

Need to click on a widget to give it focus in Power BI Embedded

I have a Power BI embedded report, embedded in my web app.
While the report is working as expected I find that I need to click on a widget within the report before being able to click on the items within the widget.
So for example I have a slicer containing a list of names. When I first click on the slicer, it selects the slicer but does not drop down the list of names, the next click allows me to see the list of names.
Is there anything I can do to change this behaviour, such that the first click on the slicer shows the list of names available.
It seems this is caused by me requesting the report in mobile view. Switching to desktop view stop the second click issue.
I had chosen mobile view, as this view allowed the UI to switch between views (landscape/portrait) dynamically without having to reload the report. In desktop view if the user resizes the browser page, the report shrinks shrinks rather than switch between views.