Export excel from sharepoint list without symbol # in lookup - sharepoint

When exporting the data from the Sharepoint list, columns of Lookup type are added a "#" in front of the original data. Is there any solution to remove that symbol?

It is by default. There is no way to remove "#" in front of the original values.
As a workaround, you can create a new Single of Line text column called Text01 in my sample, and use SharePoint Designer workflow to set its value to the values of the Lookup column like the below:
After that, go to the list settings, and modify the view and uncheck the lookup column under Columns section.
After the above, when you export the list using "Export to Excel", the result will be like:

Related

How do I use a power apps form for a lookup column?

I have a SharePoint List (say "List-A") with plenty of columns, some of which are lookup columns.
These are just used to construct a choice columns, where the items in the choice drop down are the items of a column in a different List ("List-B").
I have used the function on SharePoint to integrate List-A with Power Apps Form. This creates a Power Apps form that is readily available.
For the Lookup choice columns, I have added List-B as the data source, and am using the items from the correct column as items in the choice that is linked to the lookup column. This correctly populates the drop down menu as expected.
Now when I publish this form and fill it from sharepoint (it pops up as it should hafter clicking New in the List view) I can fill the entire form and submit with no issue. However all the lookup columns remain blank, as if the form returned a null value instead of the selected.
I have both datasources set up:
The update property of the datacard connecting to the SharePoint List is equal to the Selected of the datacard containing the combobox (combobox is called DataCardValue43).
The items property of the combobox is equal to the correct column of List-B.
As an alternative solution, I have attempted to make a different column that is just one line of text. For this column, I have made a combobox once again setting the items property to the column in List-B. The intention was to return the selected value as a string. It was attempted thus:
where combobox1 once again manages to give the correct options in the drop down box but returns only Null.
To study it further, I have made a power apps flow that takes Create New Sharepoint List object as input. Here I see that the values are indeed Null
The one called "Return" is the text column that I made, and the other being the lookup column. I do notice that the Lookup column isn't called Value, but id. I don't know what to do with that information though.
I really just want to have a column in my power apps form that lets you choose and the choices are values from a column in a different List. What do I do, and why doesn't what I've already done work?
Thank you.
Please follow the steps below to solve the issue.
1: Add a Lookup column in SharePoint List.
2: Open that list in Power Apps by using the Customise Forms Option From SharePoint.
3: The Item property of Lookup field will be by default as follow:
Choices([#'CustomisingSharePointList'].LookupColumnListName)
4: There is no need to change/delete the lookup field with any custom dropdown or combo box. This is the point, where you are doing mistake by adding a custom combobox and replacing the original Lookup dropdown. If you want to change datasource, apply filter or sort the data, you can do all these thing to the same original lookup column.
e.g I have applied filter and sort functions to the existing data:
Sort(Filter(Choices([#'CustomisingSharePointList'].'LookupColumnListName'), Value in Filter(LookupColumnListDataSoure,Progress.Value = "Open").ID),Id)
5: When you will publish the list, it will work fine.
Note:
CustomisingSharePointList: List in which we have added a lookup column.
LookupColumnListName: List to which the lookup column actually belongs to.
LookupColumnListDataSoure: You need to add the original list as data source in power apps to use the above filter. This step is optional and applicable only if you apply filter like I did in step 4

Sharepoint Library "Name" column not visible in calculated-column dropdown list

In Modern Sharepoint I created a Document Library by New>Document Library and then uploading *.png files.
They are stored in a Column Name called Name (linked to document with edit menu). This can be seen in Settings>Edit View
Now I want to create a Calculated Column to calculate the last character before the .png in the filename which are in the Name Column.
I go to Add Column > More > Create Column and define Column Name and Type.
Then defining the formula but the Name column does not appear in the drop down list.
Any suggestions ?
thx
It's known case. We cannot use filename in calculated field. You could vote here: https://sharepoint.uservoice.com/forums/329214-sites-and-collaboration/suggestions/36029680-use-filename-in-calculated-field
As a workaround, you could use workflow /flow to make the Title field gets the filename. Then use title field in the calculated column.

Qlikview, Using a CSV file to filter a field

In my dashboard, I would like for the user to have the option to filter a specific field by selecting an Execl/CSV file from their computer that has all the values for that field.
I am thinking that I can have a button that would prompt the user to select the file that contains all of these values. My problem is how would I have the dashboard read all these values and then filter the field that the values correspond to?
The short answer is - you can't
A bit of workaround is to to use the compound search to select multiple specified values in a field. For example if you have Country field which contains list of countries you can select more than one by start searching in the list box and paste the values you want to select in the following format: (Austria|Germany) In this case you should provide this list instead csv (if possible) and the user need to copy paste the search criteria.
Another possible solution is to have an Qlikview extension that can do the same for you. The extension will read the file and select the values.
Update:
Using the compound search and a bit of a variable logic might lead you to the same result. Please check this post for more info

How to change the spreadsheet order in Sharepoint

I have a survey in Sharepoint 2010. Now i added a new question . Then I went to survey settings to make sure that this question is order 1 . However when i export the survey to excel spreadsheet , this question is the in the last column ?
in the survey itself , the new question appears the first , order 1(BTW there is no branching ) .
However when i export it to spreadsheet it it the last . How can make this question to be the first in the spreadsheet either ?
The Export to Excel function simply takes the SharePoint list data without any views applied. So that means it takes the columns in the order they were created.
You could delete the columns and recreate them with the first column being created first, then the second and so on. But if there is a lot of data you want to keep in those columns you could keep it and simply create another list then find a way to copy the items over to the new list.
I believe the "export to spreadsheet" function in SharePoint surveys use the "Overview" (view) by default.
Go into SharePoint Designer and select your survey list
Under the "View" section (on the right) select "Overview". It should be the
default
Double-click overview to open / edit it
Look for the "Viewfields" section. Under it all your survey fields will be
listed with the first listed column to be exported (Excel A1) followed by
the rest (note that your column names many be truncated)
Cut the columns you want to move and paste them where you want them
Click save before exiting
When you perform your next export, the columns should be in the order you desire

SharePoint 2007: Custom Lookup columns

I would create two separate lists, and have the data entered in list 1 populate some of the data columns in table 2. Example: Request Name (single line of text), Description (Multi lines of text), Type of Request (Choice), and Completion Date (date).
When I go to the second list, I select 'Lookup', then 'Get information from:', select the first list, and all I see are "ID", "Content Type", "Version" and the "Title".
What do I need to do to get the columns from list 1 to appear in the 'Lookup' section of table 2?
The lookup field will only use text columns (regular text, calculated field with output type of text and computed columns that output text). You could probably fill out the additional fields by the means of a simple SharePoint Designer workflow that will run on item creation in the second list and fill out the columns.
I have been able to do this by creating a Feature with a custom List Definition using the FieldRef, JoinColName, JoinRowOrdinal, and JoinType attributes.
For more information, see SharePoint 2010: Set field value from query triggered by choice box selection.
I think programming will be needed you will have to use something like smartpart and create your own asp.net control that will read from database and show the data as you need it

Resources