Questions tagged [customcolumn]

The tag has no usage guidance.

customcolumn
Filter by
Sorted by
Tagged with
0 votes
1 answer
65 views

Custom column for different days

I'm using DirectQuery and i want to calculate the start date - end date without the weekend (Friday and Saturday) through a custom column. Can you help me? I want you to solve the problem according to ...
Banan's user avatar
  • 3
0 votes
1 answer
179 views

Partition by custom column name using row_number over partition

I have a custom column on my query: CASE WHEN Table.Column0 LIKE '%x%' THEN 'A' ELSE 'B' END AS 'CustomColumn', When I try to partition the data in the query using: ROW_NUMBER(...
Boris's user avatar
  • 9
0 votes
2 answers
103 views

Custom-columns of Endpoints in Kubernetes

Good day, thank you for your time. I try to extract the custom column value from endpoints to get a name and IP address like this: kubectl get endpoints -o custom-columns=NAME:.metadata.name,ENDPOINTS:...
Андрей Белый's user avatar
1 vote
1 answer
854 views

Multiple Columns in One Step in Power Query

I want to add multiple columns in one step only. I was able to find a custom function below. Table.FromColumns( Table.ToColumns(#"Removed Other Columns1") & {{null},{null}}, ...
Jomelar Ongcay's user avatar
-2 votes
1 answer
105 views

How can I create a custom column that evaluates positive values in two tables and assigns positive or negative values based on the conditions?

I want to create a custom column in PowerBI/PowerQuery where if there is a positive value in Column A (Table 1) and a positive value in Column B (from Table 2). then the conditional column will also ...
Moomin's user avatar
  • 1
0 votes
1 answer
213 views

Power Query: Identifying duplicate unique values and retaining the latest entry based on date and time

In a table visual, the requirement is: Unique ID Date Total 1002 5/15/23 6:34 AM 9.8 1007 5/15/23 6:28 AM 6.7 1003 5/15/23 4:01 AM 3.2 1009 5/15/23 3:16 AM 4.4 1009 5/15/23 2:39 AM 4.5 1001 5/...
datadane's user avatar
-1 votes
2 answers
192 views

Replace column data of one data table with column data from another table based on a condition

I have 2 data tables connected in my powerbi workbook. My objective is to replace a column data with a column data from another table in powerbi. Below is the sample example. Table 1: Customer Action ...
Maha's user avatar
  • 1
1 vote
2 answers
622 views

Searching for SharePoint Documents by Custom Column Value using Microsoft Graph API from Postman

How can I use the Microsoft Graph API from Postman to search for documents within all SharePoint sites in an organization based on a specific value in a custom column? I am currently not getting the ...
cb0008's user avatar
  • 133
-3 votes
1 answer
4k views

CountIf Equivalent in Power Query , counts per row within self

I need help in creating a custom column that shows how many models per modality for each account. What would I need to input in the custom column section in power query.
user avatar
1 vote
2 answers
821 views

Max Group Filter Power Query

I'm trying to use the following code to get a new added column with information about a max value from a given field. But what I would want is to have the possiblity to group a table where I filter it ...
chaosKnight's user avatar
0 votes
0 answers
569 views

Max Per Group Power Query

I'm using this code for creating a custom column! max per group let Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content], #"Changed Type" = Table....
chaosKnight's user avatar
0 votes
1 answer
761 views

Laravel Model's custom column name

I'm developing a new software that will eventually replace an old one, still in production. The new software needs to access old's DB for specific models that will (in the future, not at this stage) ...
Carlos Pasqualini's user avatar
0 votes
1 answer
159 views

Saved value is not displayed in custom datagridview column

So I've made a custom DataGridView-Column which is showing a DropDown for multiselecting different values and displaying them with a separator. Picture of Cell with dropdown and selectedvalues It's ...
Stevy G.'s user avatar
1 vote
1 answer
54 views

Is there a way to combine month and year and add city in seperate column transformation using PowerQuery?

Is there a way to achieve this transformation using PowerQuery? Input table: City Year Month Value London 2016 January 19 February 20 March 17 April 20 2017 January 19 February 20 March 17 ...
Toni Vukasinovic's user avatar
0 votes
1 answer
324 views

Please help me resolve my Excel Power Query / Custom Column Error

I'm attempting to create an aging buckets analysis through the use of Excel Power Query. Thus far I've created a column calculating the age of each record. The step I'm currently on is to categorize ...
Lwazi Mace's user avatar
1 vote
1 answer
2k views

WooCommerce admin orders list custom column with order notes sent to customer

I am trying to create a column that shows notes to customers. I want this column in both woocommerce admin and customer order table. I found this code and it is showing all notes in admin. How do I ...
editcafe's user avatar
0 votes
1 answer
407 views

Compare columns return maximum power query

I have data from multiple suppliers which I wish to compare. The data shown in the image below has been previously transformed via a series of steps using power query. The final step was to pivot the ...
Nick's user avatar
  • 755
0 votes
1 answer
113 views

Wordpress media library missing entries with NULL value when sorted after custom column

i have included 2 custom columns in the metadata of media entries called 'photographer' and 'copyright'. I have included both columns in the admin view of the media library and made them sortable. But ...
a.urbanite's user avatar
0 votes
1 answer
833 views

How to add custom column for previous day sales for each product in Power Query

I have this table: Date Product Sales 1/3/2021 Apple 10 1/3/2021 Lemon 20 1/3/2021 Mango 30 1/4/2021 Apple 15 1/4/2021 Lemon 25 1/5/2021 Apple 20 1/5/2021 Lemon 20 1/5/2021 Mango 35 And I ...
dss333's user avatar
  • 71
6 votes
3 answers
15k views

Kubernetes List All Containers that are not running

How to list All Containers that are not running using Kubectl command. I want output like CONTAINER_NAME STATUS POD_NAME NAMESPACE <br> container_1 Running pod_1 ...
prosenjit's user avatar
  • 835
1 vote
0 answers
945 views

WooCommerce: order details page: insert values from new custom column 'quantity_ordered' in table 'wc_order_product_lookup'

1. The problem: I want to sell perishable items which are weighed (and thus never exactly match in weight what the customer actually ordered) and sometimes if a specific product is no more available, ...
Yoda - user264474's user avatar
0 votes
1 answer
736 views

Making custom column in WordPress dashboard for custom taxonomy SORTABLE

I'm tearing my hair out trying to figure out what's wrong with this code. I've already read and tried every single question on this topic on StackOverflow - I'm hoping someone can spot a small bug and ...
turtlehead's user avatar
0 votes
1 answer
90 views

custom column and calculated column

i am trying to create a custom column using Mon-Year_period = FORMAT(trial[Date],"MMM-YYYY"). It gets accepted when write for custom column but when I close and apply the same, says FORMAT function ...
Anu's user avatar
  • 1
1 vote
1 answer
1k views

Xlsxwriter Custom Column Formatting issue

I am sure there is a more efficient way to write the code but the issue i am having is in my dataframe 2 of my columns (dtypes are objects that represent dates in format yyyy-mm-dd). When I use ...
jas's user avatar
  • 49
0 votes
1 answer
3k views

Answer: Laravel 7, select dynamic columns in query builder

I have spent a lot of my time to find this solution. I want to export a user selected list of columns data and here is the solution for this. The solution is getting a list of columns in array form ...
M Atique Khan's user avatar
-3 votes
1 answer
1k views

Power Query: How to add column with repeating values

I have an excel table with the fields ProductCode, ProductDescription and Sales. I would like to add a column named "Store", where the values come from certain header rows, as seen in the following ...
emoscosocam's user avatar
0 votes
3 answers
175 views

Power Query Statements for New and Repeated Order (Custom Column)

I have a Sales table consists of Date, Customer and Product columns. I want to segregate the data into two parts, New and Renew order. Each customer can order many types of products and each new ...
Aidel Ibrahim's user avatar
0 votes
1 answer
83 views

Power Query - complicated custom column

I need to create a custom column which looks at 1 column, a, and based on a, trims a value from b and puts the value in c. Part B: Now if the value in a does not match my criteria, then it looks at ...
Rp2019's user avatar
  • 1
0 votes
1 answer
887 views

Power Query: M Code for adding days (as column reference) to date

Power Query: Table:'TableABC', with columns: [Todays Date],[Additional Days]. I want to create M Code to add [Todays Date] + [Additional Days]. I keep getting an error, because [Additional Days] is ...
Josh Schaffer's user avatar
1 vote
1 answer
6k views

Angular Material Table with Sticky and Custom Width Column

I need a table that can be customized by the sticky and width of a column. By now I found something if I put a custom class that has a width: 150px on th and td, the sticky attribute when I scroll ...
BiTza Ioan's user avatar
0 votes
1 answer
44 views

RoRails~5: associations with custom db-field names

This question was discussed numerous times, however I run into an issue that I could not find an answer to. I am building a login system where one Member(:class) "bails for" a new Member. Internally, ...
randmin's user avatar
  • 918
0 votes
1 answer
403 views

can we create Azure custom date column?

We have Azure AD that migrated from Windows AD we need custom attribute(Column) in user profile as Date, such as Hire Date is this possible? Any suggestion is appreciable See Image
Amit Koyani's user avatar
1 vote
0 answers
197 views

Wordpress add custom boolean value column

How to add a custom column in wordpress for all image attachments, i need to set a boolean value for all existing image uploads. Something i tried to write add_post_meta() function to be written in ...
Akshay Patwari's user avatar
4 votes
0 answers
984 views

Wordpress, ACF - get_field_object() doesn't work inside columns when custom filter applied

I’m trying to get a fields value and label inside a row in a custom column. Everything works fine when no filters are applied, but when I apply the filter nothing is showing up and I don’t know why. I'...
dodo254's user avatar
  • 519
6 votes
3 answers
5k views

Sorting Custom Column in Wordpress Admin Pages

I'm trying to sort a custom column in the admin edit screen. The column is contains an integer value (vote counts). To generate the column I use this "standard" code: add_filter( 'manage_edit-...
John Mc Murray's user avatar
0 votes
1 answer
565 views

Creating custom column type

I'm creating custom column type, and i was able to implement it on my test site. I want to learn how to add some settings/properties/configurations to this column type (sorry I'm not sure what it is ...
Tauha's user avatar
  • 109
0 votes
1 answer
64 views

Wordpress - marge – post type + custom post type + custom column in posts list

I have created one custom post type with taxonomy and it works fine. I am going to show custom post type content in default posts list with help of “pre_get_posts” hooks and it displayed in posts ...
Chetan Shelake's user avatar
-1 votes
1 answer
40 views

Custom column design

I have a raw dataset and the columns are not clearly defined at all. When I go to import the data using "Read.Table" in R, it automatically tries to approximate where the columns begin and end. But it ...
SharpSharpLes's user avatar
0 votes
1 answer
102 views

list all the data, merge duplicate rows and sum the total using MySQL

I have the following SQL SELECT i.si_num AS `id`, DATE_FORMAT(i.si_date, '%d-%b-%Y') AS `date`, i.si_tr AS `tr`, d.dl_name AS `customer`, i.si_net_value AS `net`, DATEDIFF(CURDATE(), ...
Prem's user avatar
  • 31
1 vote
1 answer
919 views

Dax Calculation with logic in power bi data analytics

Need help in Data Analytics Calculations. Currently, I am getting historical data for consumption as follows: on above data, I am adding custom columns for calculating exact consumption(gallons) in ...
Priyanka Mane-Patil's user avatar
0 votes
1 answer
343 views

How to make Sort Icon visible for all columns in GWT

I am creating an application where I need to do sort and search on header. I have used column.setSortable(true); and Creating sort handler. Again on other side I have created a custom header which ...
Swaraj's user avatar
  • 589
0 votes
1 answer
2k views

How to hide SharePoint 2013 managed metadata column in document information panel

In my SharePoint 2013 solution I have created a custom managed metadata field definition. The field has the attribute ShowInFileDlg set to False, so I expect the column does not show up in the ...
Maarten Stelling's user avatar
3 votes
1 answer
3k views

SharePoint 2013 - Feature schema contain wrong field name : feature name = [GUID], field name [Field Name]

I am trying to deploy a feature to my site collection. I get a error regarding one field in my list. From ULS log: 03/27/2014 09:59:50.94 vssphost5.exe (0x1BA4) 0x2EE4 SharePoint Foundation ...
Jakub Holovsky's user avatar
0 votes
0 answers
160 views

Why won't my custom column return values?

I have the following code set up to display a column on my post list, wanting to display the values from a custom field I have set up called "cook_time". function cust_field_text($column_name){ ...
aleks1217's user avatar
0 votes
1 answer
4k views

wordpress save multiple value from select item

i've created a meta box with a multiple select item that takes its values from a custom post type. add_action("add_meta_boxes", "palinsesto_box"); function palinsesto_box() { add_meta_box("...
zen's user avatar
  • 27
1 vote
1 answer
2k views

SQL - Make a custom table with month based columns and year based rows

I am trying to make an awesome custom table which counts the amount of rows and organises them so that if there are three rows with a date in January 2013, four in March 2014 and five in October 2014 ...
user1877408's user avatar
0 votes
2 answers
119 views

Yii - using MySQL AS clause field

Let's say I want to have a provide CActiveDataProvider for a CGridView. I need to put a SUM(invitesCount) AS invites into a Provider result. How to retrieve it? I guess I cannot just use $dataProvider-...
Joe's user avatar
  • 2,591
2 votes
0 answers
145 views

Android CalendarProvider-Event custom column

What is the best way to extend the CalendarProvider-database by a new column? I want to store some extra data for every Calendar-Event. I tried to use CalendarContract.ExtendedProperties but this is ...
user2226834's user avatar
3 votes
1 answer
260 views

Doctrine 2: How can extend entity with sql code column?

I have entity mh\BTBundle\Entity\Post: type: entity table: post repositoryClass: mh\BTBundle\Repository\PostRepository fields: id: id: true type: ...
Marseille Talipov's user avatar
2 votes
1 answer
2k views

C# CRM SDK Custom columns

How do I build a CRM SDK QueryExpression where the values of two columns are combined to a new one? In MySQL, my query would look like that: SELECT *, (`latest_maintenance`+`maintenance_interval`) as ...
arik's user avatar
  • 28.8k