I have multiple tables i want to display in the dashboard, but tableau force me to link them. Is is possible to add the tables without linking them?
Yes.
If, from a standard Tableau sheet, you click the Data menu and "New Data Source", you can add another unrelated data source to any already open. This can later be blended to existing tables but you don't have to blend it and it can stay independent from them.
You are only obliged to join tables when you add them at the same time in the new data source screen as the point of that screen is to allow you to define joins between multiple data sources.
Related
After defining a model in a SQL Server Analysis Services Tabular project, the schema in an underlying data source may change. These changes are not automatically detected or updated in a project.
With multidimensional projects you can open the DataSource View right click on "refresh" to get the updates. However, I don't see similar functionality in tabular projects.
How can you update an Analysis Services tabular model with the changes in the data source?
For SSAS Tabular and Azure Analysis Services, for updates to the underlying schema, you have to go to the 'Table Menu' & Table Properties and edit the table properties. If you then click the refresh preview it will detect the changes and show the new columns. You have to select the tick boxes, to bring newly added columns to the main Tabular Model. You have to do this for all table, there isn't a full detect all changes option.
Question on msdn for reference More info here
Follow these steps to update the model after the underlying database changes:
Right click on a table and select Table 'Properties...'
Click the 'Design...' button
Click on the 'Query' menu
Click 'Refresh Current'
I need to copy contents of a section to another section (or clone the existing section) in the same course on moodle. I've seen some documentation on how to copy contents from one course to another but I didn't find any resources on how to copy within the course. In the image attached, there is a section "Batch 2-2021". I want to make a new section "Batch 2-2022" and copy everything from "Batch 2-2021" into it. Is it possible? Any help would be appreciated.
There is a duplicate button for an activity
Go to a course
Turn editing on
Click the edit dropdown menu for an activity, select duplicate
Click and hold the move icon of the duplicate, then drag and drop on the new section
https://docs.moodle.org/400/en/Reusing_activities
In core Moodle, you can only duplicate activities or courses, not sections. However, this functionality is available in the Mass Actions block: https://moodle.org/plugins/block_massaction
Install the block on your site and add it to the course. There are options to select all of the activities in a section and duplicate them into another section, along with many other options to apply the standard actions to multiple activities at once.
If you cannot use the Mass Actions block for some reason (on hosted Moodle site, for instance), the fastest way in core Moodle to copy a section would probably be to use a course backup. When you create the backup, you can select only the a particular section of activities. You can restore the backup into the same course, merging the data, which will create duplicates of the activities. Unfortunately, they can only be duplicated into the same section, so you'll have to manually move them to the new section. Depending on how many activities you're copying, this may not be fast than just individually duplicating and moving the activities, so the Mass Actions block is still the best option.
Given that Tableau apparently refuses to allow proper editing of the Data Source I have resorted to creating a new one from scratch.
The screenshot shows the situation: the old Data Source "NY FIPS 5" is still being attached to the Worksheet.
The intention is to use the new DataSource usCountyCrimeSummary : however it is unclear ( to me at least) how to disconnect the old Data Source from the existing sheet and then attach the new DataSource to that sheet.
The big surprise was when clicking on Edit Connection it did not allow selecting a different Data Source : instead it went into the properties of the existing Data Source. So then how to switch the Data Source?
One thing to note is that switching data sources will change for all sheets connected to that data source. If you only need to change the data source for one sheet out of many, copy that sheet to a new workbook, change it there, then copy it back.
Perhaps your broken data connection needs to be fixed first, but to change a data source go Data > Replace Data Source
I'm new to Crystal Reports/Crystal Server. Hope someone can enlighten me.
In SSRS, there's a thing called Shared Data Source wherein you can configure a data source like the server and database settings. This data source can then be used by multiple reports. This is very convenient especially if you would change the server name (ex: Production to UAT server) after some later time because you need to change it only on one place without modifying all the reports.
In Crystal Server, is there any equivalent? If not, what are the alternatives?
BTW, I'm using SAP Crystal Server 2013 and Crystal Reports 11.
Thanks in advance.
Edit: Saw this under Database > Set Datasource Location...
Can I save Datasource in Crystal and point all my reports thru this?
You can change data source by using Database-Set Datasource location from menu bar. From there it is pretty simple to change a reports datasource as long as you are changing to a database with same structure. If tables or fields don't exist you will receive an error. If field types used in the report do not match new data structure a mapping menu will appear.
So for example... I have several ODBC data sources which point to same server but different directories. Each directory has identical database structure but for different departments so all different data. I have setup each to be a favorite connection in database manager. I click database from menu bar, select Set Datasource. Select the current datasource. Select the new datasource and click update!
Very straight forward except for the items I mentioned in first paragraph.
I have EF where I added new tables like "Update Model from database" and saved ,but the tables are not created in either Context.cs file or into models. I closed Visual studio and restarted again, but still , I get the same problem. Is this a known and existing bug?
If you click Update model from database you get a window with a TabControl in it. The tab items are Add, Refresh and Delete. From the Add tab check from the treeview the tables that you want to add. Then those selected tables are inserted into the edmx file
To update the .edmx file when the database changes
In the Model Browser, right-click the .edmx file and select Update Model from Database.
The Update Model Wizard starts. If there is no database connection specified, the Choose Your Database Connection dialog box appears. Otherwise, the Choose Your Database Objects dialog box appears.
If the Choose Your Database Connection dialog box appears, specify a database connection. Otherwise, go to the next step.
For details about specifying a connection, see Choose Your Data Connection Dialog Box (Entity Data Model Wizard). When you have specified the connection, click Next to display the Choose Your Database Objects dialog box.
Click the Add tab.
Nodes for tables, views, and stored procedures are displayed. If any objects have been added to the database (or were not included in the previous storage model), you can expand the corresponding node to view the objects that are available to add to the conceptual model.
Note
If an object has been deleted from the conceptual model but has not also been deleted from the storage model, the object will not be available to add to the conceptual model. For more information, see How to: Delete Objects from the Storage Model (Entity Data Model Tools).
Expand the Tables, Views, and Stored Procedures nodes, and check the objects you want to add to the .edmx file.
Click the Refresh tab.
Nodes for tables, views, and stored procedures that are included in the existing storage model are displayed. Any changes that have been made to these database objects will be reflected in the updated storage model. Changes to the conceptual model are made when columns are added to a table or view.
Click the Delete tab.
Nodes for tables, views, and stored procedures are displayed. If an object has been deleted from the database and was included in the previous storage model, you can expand the corresponding node. The objects in these nodes will be deleted from the updated model.
Click Finish to update the .edmx file with the database changes.
Find the complete reference here:
Update Entity Data Model