Adding fields to datasets through GUI in SAS EG - sas

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.

Related

Is it feasible to hide column in a grid in Power Bi Paginated report

I have found a way to hide a column in the matrix visualisation in Power BI but not in Paginated report, hence question.
In the Design view, you can hide a column by right clicking the column header and selecting Column Visibility...
then select Show, Hide, or based on an expression
To tie showing or hiding the column based on a drop down, create a parameter by right clicking Parameters in the Report Data pane and selecting Add Parameter...
Here are my settings for the parameter:
General tab:
Available Values tab:
Default Values tab:
Once you have the parameter set, go back into the Column Visibility settings, select based on an expression and click the fx button:
Then click Parameters and double click your parameter name to add the expression:
When you run the report, you'll see the drop down and the default setting:
You can then change the drop down and click View Report to see the hidden column:

Power BI desktop - new column refreshes data

I hope you can help here.
I'm trying to create a new column on the Data screen on PowerBI Desktop.
I click [New column] and it adds a column "Column" - however when I try to rename it I get a data refresh message (see attached screenshot) and the column doesn't get added.
This happens as soon as I click into the 'Name' field or right click on the column in the 'Fields' panel.
This seems a peculiar feature. Otherwise I'm guessing it's a bug.
I've reinstalled the PowerBI desktop app however get the same results.
enter image description here
Thanks for the replies!
Please add some text or anything while creating column. Otherwise when you click on any other place it will automatically removed.
e.g. Column = "Test"
After adding above code try to rename.

Editing rows in an interactive report using 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

Transpose table in report visual in Power BI Desktop

This is how my table looks like in Power BI Desktop:
In the 1st column, we have the year, and in the n remaining columns the indicators.
I'd like to build a matrix visual with the indicators in the rows and years in columns.
Now, I know I can unpivot all the columns except the year in the query editor. But the structure above is necessary to build charts where the x-axis is the year and the series is only one or two indicators.
Is there a way (a measure, calculated table or other) to build the matrix I need?
Thanks!
If I understand correctly, you want both your original table layout and a new transposed table like this:
You can do that with a new, additional query.
Just go into your query editor and right click on your existing query (in the left pane of the screen), and then click Reference. That will create a new query, using the previously existing query as its source.
Then click the Transform tab. Then click the bottom part of the "Use First Row As Headers" button, so that you can then click on "Use Headers as First Row".
Then click on Transpose.
Then click on the top part of the "Use First Row As Headers" button (or click on its bottom part and then "Use First Row As Headers")
Then click on the Home tab and "Close & Apply". This will add a new table to your Power BI data set, from the transposed table.
Open the excel data you want to transpose in power query editor.
go to transform tab.
and drop down "use first row as header" and select "use header as first row" -> this will add one more row at the top of the data as shown in the second screenshot1
2
and then click on transpose button. you can see the data has been transposed.
3
If you want to remove the first row, drop down "use first row as header" and select "use first row as header"

Productname on inventoryValueReport

I am new to AX2012 and need to add product names to the InventoryValueReport in ax2012. I am trying to use a checkbox on the setup form but I'm just not sure at how to code the method to display the names on the report when the box is checked. Can anyone assist me?
If the ssrs report layout will support it you can set the visibility of a column based on an expression based on the added parameter.
Steps:
( How do I set the visibility of a text box in SSRS using an expression? )
In this example, the report has a dataset named Items and has textbox to show row counts. It also has another textbox which will be visible only if the dataset Items has rows.
Right-click on the textbox that should be visible/hidden based on an expression and select Text Box Properties.... Refer screenshot #1.
On the Text Box Properties dialog, click on Visibility from the left section. Refer screenshot #2.
Select Show or hide based on an epxression.
Click on the expression button fx.