How to add all columns of a table to a report at once - powerbi-desktop

I've recently started using Power BI Desktop. There are some tables with 100+ columns that I want to pull into reports. Currently I'm selecting every column/field one by one. Editing query seem to only edit the source I got for the table. Is there a way to select and add all columns of a table at once?
Would also be helpful if I could stop the refresh every time I add a columns. It starts being really slow after a point to add new columns.
Thanks

Related

How to add multiple Dynamic Power Queries into one spreadsheet excel

Is it possible to insert multiple dynamic power queries, one on top of the other, into a single excel spreadsheet and have the queries refresh when new data has been added to the tables?
I have six different dynamic power queries from six different tables.
When I put each query into their own spreadsheet by themselves they work perfectly. When I add additional data to the table and refresh the query the new data is added to the query worksheet.
However, when I place all six queries into one worksheet one on top of the other, the new data added to the tables will not refresh.
Any help would be greatly appreciated.
Using Excel 365 on Windows 10

How do I create 4 of the same excel table (i.e different views) that update simultaneously

I have a table with LOTS of columns, however, to separate these columns into smaller tables would increase the manual processes.
What I would like to achieve is to have a table that is linked to 3 other views of the same data.
I created this on Coda however with the sort of numbers we are using it was too laggy and the company is already familiar with excel.
But to show the functionality, here is a link to view;
https://coda.io/d/LAP-Sheets_dGgLPS7V1d8/_sudZF
Basically, I have the first table, which shows every column.
Then, there are 'on market', 'referencing' and 'rent collection', which are all linked views of the first table, just with a lot of hidden columns so it is more manageable.
When you update one of the tables, it updates on the other 3, and if you press the button to change the status, it moves it to the next table.
This is perfect - except moving it across to excel is proving very difficult.
I have built out the first table - but I don't know how to achieve the different views of it.
Thanks.

Extracting data dynamically from master table to tables on dashboard

I have spent the last 3-4 days trying out all kind of tips and tricks found on YouTube and rest of the internet. But I don’t manage to create what I want. Now I have to swallow my pride and ask for help.
I have a big master table, or database, with all kind of information. I want to create a dashboard with a few smaller tables with just some of the information from the database.
I attached picture of a very simplified version of what I want to archive. Picture of simplified Daschboard/MDatabase:
I want to show some of the cars in column C (in the database) in separate tables on the dashboard with just some of the columns from the master table. When a row is added, deleted or information is changed in the database I want the dashboard table to update. It would be neat if it updated automatically, but a refresh button would do.
I use Outlook 2010 but can’t use MS Query or PowerQuery.
Pivot Tables will do exactly what you want.
Select your data source Sheet2!B3:F13 and click Insert > Pivot Table. Choose the range where you want to put the picot table, and click OK.
The Pivot Table field list will appear - drag Owner, Colour and Condition to ROWS, drag Car to FILTERS. In the Pivot Table > Design ribbon, switch off Subtotals and Grand Totals, and change Report Layout to Tabular Form.
Select a car filter as required, and format to suit.
You can create multiple pivot tables in the same manner. When data in the source table is modified, you can simply refresh the pivot tables to update them.
Thanks a lot Olly!
I totally overlooked the possibility to use pivot tables. I was obsessed with using some clever code to solve it. But the use of pivot seems to be the most convenient solution.
By the way. Thanks all you excel gurus (nerds...) out there who share your knowledge in forums like this. Two weeks ago I had no knowledge about VBA, formulas etc. Now I have managed to build a user friendly database with a dynamic dashboard and interactive user forms. Only by reading forums posts and watching You Tube tutorials.

Excel 2010: Automatically combine multiple tables into one dataset

I thought there would be a simple way of doing this, but unfortunately I have not come across one. My company has an Excel workbook with 12 sheets (1 for each month), into which I enter sales data as accounts are written. I reformatted each month's data into tables, thinking that this would provide an easy reference to gather the data into a pivot table that joins all the months and would be updated as I enter data; however, a pivot table based on multiple sets of data allows highly limited manipulation.
So what I want to do is create a new table that is automatically populated as I enter data in any of the 12 current tables, to combine them into a master listing. I have tried doing a query, but when I try to set up the data sources, it doesn't recognize my tables. I tried Power Query, but I couldn't get it to update the data as I updated the source. Consolidate also was not a useful feature, as it required all the data to be somehow calculated, and my columns need to simply be copied over, not summed or averaged.
As you can probably tell from my explanations and terminology, I'm no Excel expert. I don't know what VBA even is, let alone know how to use it, but I've seen it mentioned a lot, so I figure at some point in my life I should learn it.
Is there a formula or some other Excel 2010 feature that can automatically copy all of this data onto one running list, and keep it updating as I enter data in the source tables? It would have to run automatically.
I believe your end goal is to have a pivot table which consolidates data from each of the individual 12 sheets/tables and not really to have the intermediate "single running list which is an aggregation of all the 12 sheets".
If so, I suggest to create an Excel Pivot table directly based upon the 'Multiple consolidation ranges'.
To start, create a new spreadsheet and select a cell (say A3) and use the click sequence Alt+D+P, this will bring up the PivotTable and PivotChart Wizard, and proceed further using the third option - 'Mulitple consolidation ranges'.
I will have to refer you to the below site for a detailed step by step instructions on the above: http://www.contextures.com/xlPivot08.html
Please be aware that the Difficulty level for this solution is Medium, suggest you to bookmark the solution from maintainability reasons, in case you choose to implement it.

Macro using Dynamic Pivot table values

I get a lot of data every day with one of the columns being the name of stores. These stores are divided into two regions, say north and south. So , I have a superset with store names including both storesN and storesS. Everyday I get reports from a subset of these names. I use Pivot tables to display the data.
I want to write a macro which will show me just the data from storesN or storesS. If all the stores reported everyday, I could write a fixed macro. But every day the stores that report changes. So is there a way, I could write a macro, which will automatically detect and which names are present and adjust accordingly.
I am using
With PivotTables("PivotTable30").PivotFields("Name")
.PivotItems("Store1").Visible=False
The names are always a subset of the superset.
I hope the question is clear.
Just refresh your pivot table:
ActiveSheet.PivotTables("PivotTable30").PivotCache.Refresh
Good Luck.
If you are deleting all the old rows, just make sure that "Show items with no data" is turned off in the Field settings. Then refresh the table.
If you are only replacing the updated rows, then the easiest solution is probably to just add a "last updated" column and have that filtered for "today" (Or PivotFilters.add2 Type:=xlDateToday if you build your table via code)

Resources