Editing rows in an interactive report using Oracle APEX - oracle-apex

I have been trying but I cannot edit rows. When I click the pencil icon near any row in the interactive report, I want it to take me to a separate page where I can edit the rows and update the table.

1st Step
First create a blank page
Add all those items to the page which are in the table
Add source for each items as sql query i.e Use select statement with condition.
Add an update button so that changes made are reflected to the table(You have
to use the update query by giving primary key of the table in where condition).
2nd Step
Go to the interactive report page and edit the region
Go to column link
click on the pencil icon in the left side
use your blank page no as the page to be redirected to
below you will find some blank rows as Items and Values
In Items select the item which you want to use in the where condition and value corresponding to it.
Apply Changes.
DONE

Try this.
1 - click on "Create Page"
2 - select "Form"
3 - select "Report with Form on Table"
4 - Fill the rest of the wizard
After you made this, apex create a report and when you clik on a pencil you can edit the data and save.
example:
https://apex.oracle.com/pls/apex/f?p=145797:5

Related

Show/Hide column in Power BI Table/Matrix visual

Is there any possibility to show or hide the column in Table/Matrix visual in Power BI report by user dynamically?
For Example, I have a table view with columns COLUMN-1, COLUMN-2, COLUMN-3. Now I may have filter drop down to list all the column headers, so based on user selection (Multiple selections) Table view should get adjusted to show column values.
Since Power BI was developed based on Excel, curious to know if we are having Hide/Show column based on any condition or available in visual by default (Maybe by right-clicking on column header then show/hide it).
You can do this with the following workaround:
Create your page with the table showing both columns.
Create a bookmark, uncheck "Data"
Duplicate the page and remove the column you want to conditionally hide. Set the page as hidden.
Create a bookmark, uncheck "Data"
Add a button to the first page pointing to the 2nd bookmark
Add a button to the second page pointing to the 1st bookmark
Ensure your slicers are synced
The end user experience is they will feel like they are conditionally hiding and unhiding the column.
A bit crap and a lot of extra work but I have it working well in my implementation.
Currently it is not possible to hide columns in visual based on slicer selection, there is an idea about this issue, please vote it up.
https://ideas.powerbi.com/forums/265200-power-bi-ideas/suggestions/19435267-conditional-visibility-of-a-visual-based-on-slicer
Thanks!
This is now available in Power BI with preview feature "Field Parameter". Check the May 2022 update.

On click of the card control display the data into table control

Simple task but not able to figure out the way.
In Power Bi Report , I have 3 different data tables contains service data. On report we have 3 cards and a table. all the cards display average availability of the service.
the requirement is, on click of the card, I should display the rest of table data in below table control.
thanks in advance for the help.
First save a Bookmark for how you want your table data to appear.
Add a Shape / Rectangle and position it on top of a Card. Set it's Line Color / Weight to 0pts and turn off the Fill. Turn on it's Action and set the Action / Type = Bookmark and choose your new Bookmark (ref above).
Repeat for each Card.
In the latest version of PowerBI Desktop you can add "Bookmark Buttons" and tie their actions to bookmarks.
Filter the table and add a bookmark using the "Bookmark Pane" found
in the View menu.
Create a bookmark button and position it where you want it over the Card.
Resize the button to fit the icon (unless you want a title for that button).
Edit the button's action in the "Visualization Pane" to apply the bookmark you want.
Note in the picture below, the Missing Creative Types bookmark button was selected and the filter was applied to show the 3 rows with the missing data.
Bookmark illustrations

How to edit filtered rows in interactive report in apex oracle

I want to edit rows in interactive report. Before or after filtering. I have made column link in select query using ''edit_link but in Regions > Interactive Report > Column Attributes > [Column Name (edit_link)] > Column Link section i can't send data using item because there is no items on list to pick in page with interactive report. In normal report there are items i can select to read data from and send to (item and value boxes). Is it any solution to edit filtered rows?
There are a couple of ways that come to mind to accomplish this. I will explain an approach that starts off with where your prompt left off.
1. Create a FORM Page
This is to edit a record from your Interactive Report. I assume that the query behind your IR is not a complex, multi table query, which will not work with this approach unless you build this form on a Stored Procedure (instead of Apex's automatic DML functionality).
Build a Form on the Table from the IR
From the Application Builder menu, CREATE a New FORM. Select "Form on a Table or View". Select the TABLE to build this form on and fill in the information required to map it. You will be asked to identify the PRIMARY KEY of the table from your Interactive Report.
Set All Branching Activity to Return to the IR
When Prompted for "After Page Submit And Processing Branch to Page" and "When Cancel Button Pressed Branch to this Page" Choose the page number of your Interactive Report. Any activity on this page, when done (whether through CANCEL or SUBMIT and process), you will want it to go back.
2. Set Column "Edit Link" Properties
Under the Column Link section, set the target to "Page in this Application", and add the page of the form previously created. Items should now show in your popup. Select the Page Item from your Forms page that corresponds to your Table's Primary Key. The value can be derived in some way, or just point to a the column it came from. (i.e., #MY_KEY_ID#).
The key part that was probably missing for you was the existence of the edit form required to modify the record. That is not an automatically created feature when you create an IR report.

Adding fields to datasets through GUI in SAS EG

I would like to add a couple of fields to an existing dataset in SAS EG. Can I do this through a properties dialog, without having to write code?
If you are in Update mode (easiest way - double click on any cell, choose yes), you can right click on a column header (the variable label up top) where you want to insert the new one and select "Insert Column".
you need to open table (douple clic on it) and try to edit (double click on the row filed) -> in pop up window select to transfer table in update mode. After its done, select whole row and in right click menu u will see add or delete rows options.
p.s. you can also add coloumns via similar manipulations.

In Sitecores Advanced System Reporter is there a way to select all items in the report?

In the Sitecore Advanced System Reporter module is there some way to select all items in the report? I can only figure out how to select one item at a time.
You can hold down the control (add individual)and shift (select everything between) button to select items the same as you would in windows explorer. I think there's a setting that says how many items to display per page (app_config/include/asr.config, i think) too to add more items to show per page.