Not sure if this is the place for Cognos Insight report building syntax Qs but ill give it a go. Im trying to convert a tuple data item to a 'member' or 'measure'. I need to do this so i can nest that tuple within another so i can use it as part of a graph.
Data Item:
[x]-tuple([x],[y])
Is there a way to get the value of this tuple? something like the following? value([x]-tuple([x],[y]))
Related
I can't figure out how to do a very simple update of a column value in Power Automate in SharePoint online. I've seen examples of how to update an item on another list, but nothing that updates a value on the same item that was just added and triggered the workflow. Can anybody give me an example and maybe a very brief explanation?
I want to multiply the values of two columns and add it to a third column on the same item which will be blank. I used the formula to update the column I want using values from other columns. =[Dollar Amount]*[% Chance] but it says invalid syntax. There seems to be nothing intuitive in this new power automation and it's a horrible failure compared to how easy it used to be. MS is always making these mistakes.
The first method, you could use a calculated column.
=[% Chance]*[Dollar Amount]
Second method,use Flow.
Test result:
It's Power Automate, not power automation. Details matter.
First, try to set the column value when you create the item. Then you won't have to edit it. If you already know the values for [Dollar amount] and [% Chance] (Chance, really? Or Change?), then you can use these to generate the value before you create the item. You can do that in a variable or with a Compose action. Then create the item and refer to the variable or the Output of the compose action.
If this is not an option, you can use the Edit Item action and get the ID for the item from the action above that you used to create the item.
You say "MS is always making these mistakes." - It's more likely that the problem is a mismatch of data types, e.g. using text fields in calculations, or typos, or wrong syntax. That's not a mistake made by MS. Again, details matter.
Edit after comments: If the workflow is triggered by an item getting created, then you can use an Edit Item action and refer to the ID from the trigger item.
I am currently builidng a PowerApp and I am struggeling with a simple search function. I connected the PowerApp to a SharePoint list (see image 1).
The SP-List 'Projekt' consists out ouf:
Columns: Service | Car | Car_ID | Workitem
Type: Text | LookUp | LookUp | LookUp
[SharePoint List][1]
I try to filter the text by using search. As long as I am using search on Service, everything works as expected. But if I use search on one of the other columns, the code returns an error, saying "Wrong Column Type. Expects text type" (Image 2)
Search('Projekt', "Item1", "Workitem")
Error
I assume it is due to the LookUp type, but I am not sure. Has anybody takled this problem and knows a workaround? Very happy for any suggestions
Best Regards
Sorry, but I don't think this is going to work for you unless you change your underlying sharepoint list or use a collection.
The documentation on "Search" in powerapps say that "the column must contain text."
On most power platform applications, if you look into a Sharepoint list's lookup field or choice field, what you're actually looking at is called a "record," which is a single list that contains several items. Powerapps is expecting a string, but you're giving it a "record," so it's throwing an error.
I'd recommend you create a collection, and use that for what you're doing.
Try this:
ClearCollect(NewCollection, ShowColumns('Projekt', "WorkItem"));
Then, you should be able to do things like:
NewCollection.WorkItemColumn1.value ...
I want to get the highlighted value, that is the latest value of the "Availed" from the list shown above, and display it on the second list's "Availed" column, circled below:
Basically, what I am trying to do is, whenever a new item is created in the second list, it fetches the latest value of the "Availed" from the first list and displays in its "Availed" column.
I have tried couple of lookups with IDs and dates using SharePoint designer 2013, but every time I am getting the first entry.
The only way, I could achieve this was, by mentioning the exact item ID in the lookup, but I do not want that. I want that it should automatically pick the latest value when a new item is created in the second list.
Also, there are couple of solutions online using the code, but I am not that great at coding and want to achieve this feature without coding.
Is there a way we can do this without a code?
You could create a workflow for second list, in your workflow, call REST api by 'Call HTTP Web Service' action, Sample here.
Use rest api to get the latest value by $orderby, demo here.
I have the following requirement in my project.
It is a reporting application so mainly will be storing data about my entities once and most of the times will be retrieving it and showing them on the webpage as different reports. I am using node.js and mongodb for this project.
The data is in the form of excel. There are more than 2000 columns and each column has one short code like s0a_1, s0a_2, s1a_1, s1a_2 etc. Each column code is mapped to a long meaningful text. For example, s01_1 -> What is the name of the person ? , s01_2 -> 'Project Name' etc. And for each column there will be a corresponding value which is a number most of the time.
In my reports, I need to show long meaningful text and corresponding value.
So, what is the best way to achieve this ?
We can think of the following ways:
Create a collection in mongo and store shortcode/text as key value pair and each time I replace short code with text before sending response to the client.
Store in a property file as key value pair
Use redis for this specific purpose
Any help will be appreciated.
Thanks.
So - I'm making a data view that is to contain a list. This list has a field that will be used to match up against two other lists. If there is an entry for this value, it should show the value from the other list, otherwise show a link to add a new one.
So, what I need to do is make a data source consisting of the rows from list 1, and fill in the Ticket field with a value from the Tickets table matching the ID value from list 1. The same should be done for the Change Type field.
Can anyone point me in the right direction to accomplish this? I've found a few tutorials, but they seem to be for showing all the data together and not match up on any specific columns for linkage.
Thank you
What you are aiming at is not available in SharePoint out of the box.
There are two approaches you can look at:
Create your own custom lookup field template for single/multiple field
selection with some sort of field
editor. Create your own controls and
program the associated code behind
logic.
Use some existing custom solutions. One such sample is on codeplex:
SharePoint Filtered Lookup Field