Format table names differently than column names in dropdown? - redquerybuilder

This may seem like a silly question, but it's taking me way too long to find the answer, so I'm hoping I can get some help here.
If I'm understanding correctly, the sample RedQueryBuilder formats the table names that are related to the initial table in "Proper Case", while the columns of the initial table are all caps. This is wonderfully helpful in distinguishing the tables from the columns.
Developers at my place of work (who are not currently available to ask) implemented the RedQueryBuilder in one of their web apps, and somehow, the table names AND the column names are all "Proper Case." This makes it impossible to tell which are tables and which are columns. I've scoured the code, searched through any available CSS, stepped through the app in the JS debugger, etc, to try to figure out how to format the list of tables + columns the way it's done in the original, but it's taking forever, and I can't seem to find it. Any help pointing me in the right direction would be fantastic!
Thank you!!

In the meta data that is sent to the client you should be able to send "name" and "label" values. The "name" is used when reading/writing the SQL and the "label" is displayed to the user.
You should be able to control it there.

Related

Applying multiple filters with Tabulator table

I am not well-versed in code. Would someone (for hire) be willing to help me place one of these beautiful tables on my website?
It should be able to do the following:
Sort per column
work with multiple filters
have the ability to update the numbers by linking to a google sheets, etc.
Thank you.
Rick Gonsalves
rick_gonsalves#hotmail.com
Have not tried yet as I am not familiar with code and how to use it.

Merging two tables with low quality data

I've been spinning my wheels on this one for a while and have had trouble finding a relatively pertinent answer elsewhere. This seems to me to be pretty convoluted and maybe not even possible, so if that's the case please let me know and I can find other workarounds. And if it would be easier to just refer me to reading materials, etc. please feel free as well.
My goal is to merge two tables together via Power Query in Excel, where one of the tables has typos and empty fields where there shouldn't be. I've attached a picture here for reference:
The second table is a "master table" of sorts, that the first table should cross-reference against. The desired process/result is attached here:
To get the names to match, I've been trying to fine-tune fuzzy match's similarity figure, though I'm not quite there yet as some of the typos are too different. It seems to me that the real difficult part is trying to reconcile the cities based on the correct customer name.
Maybe there is a better way to do this outside of Power Query, but that's just where I started as it made the most sense to me. Any tips or guidance would be greatly appreciated! Thank you in advance.

Looking for guidance on VB Code for Excel that will create action between two dynamic tables in each sheet.

I am trying to create a spreadsheet that allows me to keep track of a customer with general details (name, phone number, address...) bu then also keep a very specific list of all the products they have ordered. I want to be able to run reports on frequency of all details including what has been ordered. I have a bit of programming experience but not a whole lot of Excel experience so I know how I would write a program but not exactly how to do it in Excel. My thought is to have one sheet dedicated to the general specifications of the customer and then a second sheet that keeps track of the orders per customer. I want to be able to click on a hyperlink or something of the sort that will take me to the second sheet and automatically fill in the customer name. I want the first sheet to have the guest information running horizontally in rows but then the second sheet would have the names running horizontally on the top row and the orders would go down each column under the names. This way it keeps all of my sheets tidy and allows for me to run the type of reports I'm looking for. The main issue I'm having is figuring out a way to create a link that will do the action I want. I understand how to program but don't know Visual Basic very well but if someone was able to offer a similar code I would be able to decipher it and change it to my needs. Or if someone has a more efficient thought on how to set up the spreadsheet I'm all ears! Thanks a ton!
what you need is to create a pivot table with a data model.
The instructions are longer then what it actually takes!
here are few tutorials about the subject:
youTube video
MSDN instructions
PS don't write code in Excel unless strictly necessary. If it's a data issue, use data model

developing a front end app using excel spread sheets

We get at least 20 queries a day on an average from our clients, where in we have to open and look at data on 4 to 5 Excel sheets to answer them. questions such as what is my available balance, am i eligible for this etc. All our clients are connected to our intranet and have access to internet. I was wondering is there a way where we can develop a front end app (do not have budget for MS VB or any other) either in excel or any other to connect these 4 to 5 excel sheets to retrieve the data in response to queries (e.g. using perhaps some if and true/false queries). I am not an advanced Excel user but would be great for an advice from tech experts.
Yes, i wouldn't call it an app but consider a worksheet like a dashboard. You can have a cell for entering client name, and then use formulas to look up relevant information of the name entered. The cosmetic and arrangement of the information retrieved and published on the dashboard is up to you and of course do consider investing some time in the looks and feel if you want to enjoy using it.
Things you may consider are:
Place the files are kept and file name convention
because your dashboard will look for information in external workbooks, ensure that the files are saved in a fixed directory and have a specific file name. if the external files are updated from time to time by other folks, let them know too that they have to save it in a particular folder with a specific name format.
Properly structure the source of data
Format you data source into tables so that it is easier for use with formulas. Throw away titles if any in the data source worksheet. Use tools like "Table" under the INSERT tab. When data are properly organized, they can be easily looked up using formulas such as VLOOKUP, SUMIFS, MATCH-INDEX, and COUNTIF.
Be good with formulas
Since we have no budget for VB, then good formulas will be needed. There are plenty of help on the internet for this I think you'll have no problem in it.
Employ sanitary check measure
It is difficult to tell if our formula isn't functioning properly when we have no counter check measure. Certainly you want to give your clients accurate information. One way to check is, think of alternative ways to get the information wanted and check if it matches to the first way. Another way is to retrieve a sequence of related information to be put on the dashboard, then do simple calculation to check if the numbers add up. Use conditional formatting to highlight errors if necessary.
I think these are key consideration, there may be more, but this is what i can think of for the moment.

Cannot delete a column that contains multiple tables

Whenever I have two tables in the same column, I get this error.
Create a table in columns (ie B1:C3)
Create another table below that table (ie B5:C7)
Right-click on column B
Is the "Delete" option grayed out (unavailable)?
Convert the second table (B5:C7) back to a normal area
Right-click on column B
Is the "Delete" option active (black) now?
It is for me.
I don't understand why it happens but I'd really appreciate if someone could confirm that I'm not alone on this one. This actually seems like a bug.
Unfortunately this is 'behavior by design'. A ListObject (aka structured ) table has many internal mechanisms. The Delete (column) command is not designed to enumerate through all of the ListObjects on the worksheet to see if any intersect with the column being deleted and then spawn subprocesses that deal with deleting table columns specifically while simultaneously keeping in mind how that will affect other ListObject tables. Instead, it simply does not allow the Delete command when more than a single ListObject table is involved.
This is not allowed may be because deleting a column will Shift Cells Why Dont you try deleting by selecting one column of a Table Like this
see the screenshot you can do it if you select one column of a table at a time
Thanks
Try organizing your data in a different way, so these problems don't occur.
There is no compelling reason to have several tables on ONE sheet. If table placement presents a problem with row/column management, consider moving tables to separate sheets.
Tables can be referenced in formulas by the table name. Ditto for table columns, so there really is no reason to keep several tables on one sheet if you need flexibility with row and column management.
Edit after comment The fact that users are working with several tables and cannot be expected to change sheets to maintain data on different sheets can be addressed in different ways:
Educate your user. I'm a big fan of teaching people how to use software. If they understand what they are doing, they feel positive. If you keep them dumb and tell them to "just click there and shut up" they may feel negative.
You may want to re-consider your data architecture. Provide your users with an interface to add/edit/delete records that is independent of where the data is stored. This is 2016. Data input and data storage are not married to the same page.
You are posting your question in a site for enthusiast programmers. A little bit of VBA will separate your data entry/data storage issues, if you are interested to work it out.

Resources