I have an issue with changing interactive report column order.
My APEX version 5.0.3.00.03.
If i change order in Columns nothing change.
If i change order in SqlQuery nothing change.
If i change type of report (eg select classic report) and come back to interactive order finally change.
I'm doing wrong or there is a bug?
So what we can do here is, once you run your report and see the output.
Click on "Action" button on your report output, near the Search bar. Then choose "columns". Now in the next pop up window, you can reorder the columns and even opt to not show some of the column. Once you are done with the changes, click on "Apply".
Now you need to follow these steps to make these changes default for all.
Actions --> Reports --> Save Report --> Choose "As Default Report Settings" in save drop down menu --> Apply.
Now your changes will be done and saved as default for all.
SQL statement order is merely defines the default order upon creation, and has no impact afterwards.
Classic reports get their order from the column sequence at design time.
Column order for interactive reports is defined at runtime, where the developer uses action toolbar to select columns, order, sort etc.
Design time capability for IR may be present in APEX 5.2
Don't forget to save the report as default report afterwards or else it will reset on refresh (actions -> save report then choose default from select list).
To change the order of columns displayed go on IR bar "actions" and select "Columns". Here you can choose what display and in which order. Then save the report as default.
Related
I am trying to apply conditional formatting to a field of a table in a report in Power BI online.
The report is connected to a dataset that is in MS Teams and continues to function. All existing conditional formatting is unchanged.
These are the steps I took:
Switch report to edit mode
Select table
Select conditional formatting - advanced controls
In the pop-up window, select "Based on Field"
Then, the drop down list is blank and says {{::placeholderText}}.
This can now be recreated in any report, new or existing, where I attempt conditional formatting.
I tried creating a new report from a new dataset, and attempted to add conditional formatting to a table. The same result happened.
I tried signing out of my Microsoft account and signing back in, but no effect.
I was able to get it working by adding ?conditionalFormattingModern=1 to the url for the online editor like this: https://app.powerbi.com/groups/me/reports/xxx/ReportSection?conditionalFormattingModern=1. (source of idea)
I'm not sure if it will work correctly after I publish the visual though. Apparently this isn't an issue on Power BI Desktop though- so it's probably fine.
Update: Not sure if I'm doing something wrong- but the conditional formatting doesn't seem to be actually applied. It's just that the editor window displays correctly.
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.
I have always been able to create drop-down list parameters within SSRS that allow the user to dynamically filter their reports based on one or more values selected from the drop-down list box of multiple values.
Translating now over to Power BI I cannot find any documentation to achieve the same functionality.
I've found a method of turning the slicer into a drop down list box. But it only allows for the selection of 1 value at a time. So it essentially seems to me to be more of a drop-down list of radio buttons.
In SSRS I could create a stored procedure that accepted a value and returned a record set filtered on a specific value(s).
I can see how to do this with Power BI as well but the method I've seen demonstrated, forces the user to select a value before the report is loaded and subsequently loads a pre-rendered report template. Which isn't the same.
So how does one go about creating a report that implements a true drop-down list box allowing for selection of 1 or more values to dynamically generate the result in the report?
Reference links are welcome if a simple answer isn't possible.
This is an out-of-the-box feature in PowerBI
Create a slicer visual and, as you've already discovered, set it to Dropdown type using the upside down carrot icon on the slicer header. The dropdown list is multi-select by default. Hold down [ctrl] while making the multiple selections. However, you can control Multi-Select behavior under the 'paintbrush.' When the visual is active, click the paintbrush icon under visualizations, expand 'Selection Controls' and you will see several options to manage your slicer's behaviors.
Additionally, you may want to explore the new filter experience, which is still in beta. https://learn.microsoft.com/en-us/power-bi/power-bi-report-filter-preview
Otherwise, The behavior in SSRS where the report loads from data sources using parameters chosen by users either as parameters in stored procedures or incorporated into dynamic SQL is not replicated in PowerBI. It's true that there are parameters that can be incorporated in that way with the data set refresh - but these are controlled on the data set, not the report, and are not convenient (or appropriate, really) for report viewers to manipulate.
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.
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.