2,860 questions
1
vote
1
answer
196
views
How do I correctly nest multiple partial class files under a Blazor component? [closed]
I can get each of the component's class's partial class files to nest under its .razor file, but it insists on being hierarchical in this way:
(Note: partial class files aren't a hierarchy, in case ...
0
votes
0
answers
42
views
Godot .tscn Scene Hierarchy Not Displaying Correctly in Editor
I am having trouble with my Godot .tscn scene files: all nodes are showing up flat at the root in the editor, and the hierarchy isn't being recognized. I noticed that even though I am using the parent ...
0
votes
1
answer
49
views
EF Core view derived from table unexpected results
I have a database view, based on a table with an additional column.
My classes first looked like this:
public class Person
{
public int Id { get; set; }
public string Name { get; set; }
}
...
1
vote
1
answer
67
views
oracle query to loop through multiple records and provide the results [closed]
oracle query to loop through multiple records and provide the results
Please help qrite an oracle query to achieve above results.
input data
ID
ABRV
NXTFILL
DAYSOUT_INT
DAYSOVER_INT
TIME
123
abc
null
...
-2
votes
2
answers
159
views
Query to find all members of multi level many to many relationships and also the top most member of the hierarchy
Multiple student can go to 1 teacher, but 1 student can't go to multiple teacher. There is no limit of level in this teacher student hierarchy.
How using a single SQL query in SQL Server we can get ...
2
votes
2
answers
176
views
Flatten a hierarchy with recursive LAMBDA formula, or with Power query?
In excel I have this table with 2 columns :
Table called T_DATA
dataset
datasource
APP1
DTM1
DTM1
Dataset1
DTM1
Dataset2
DTM1
Dim1
DTM1
Dim2
Dataset1
Raw1
Dataset2
Dataset3
Dataset2
Raw5
Dataset3
Raw2
...
0
votes
1
answer
60
views
Efficient way to flatten account hierarchy so that parents of each child node is displayed in adjacent columns?
This hierarchy has several top level parent nodes which roll down into children nodes which roll down into varying levels of depth containing deeper level children nodes. The level in which a node ...
0
votes
1
answer
97
views
SQL using a hierarchy to pick the correct price
I have to find a price by choosing the correct price out 3 options in a hierarchy
from highest to lowest
if "tran_type" is Quot than choose this price over all from the [price] column and ...
1
vote
1
answer
69
views
Passing variables though hierarchy of functions in Rstudio
I am facing a problem when passing arguments though nested functions.The basic objective is to minimize a quadratic function subject to a parametrized constraint, where the parameter is a. Here is my ...
1
vote
0
answers
20
views
How to get a amount from all "child" of a field account in power bi?
Explaining the problem:
I have a table with the accounts and the total value, this is the "fact" table
Account
Amount
CC1035
-19000
CC1284
123400
CC1909
200
CC1024
3500
I also have a table ...
0
votes
0
answers
33
views
How to create a Python object that represents a simple hierarchy of self-typed children [duplicate]
I have a simple class in mind, called Page. Page has an ID and a Title. Page can also have child Page's stored in the Page's children attribute.
I thought about doing this:
class Page:
def ...
0
votes
0
answers
41
views
Date hierarchy including month and isoweek number, causing aggregate issues in visuals
I have created a date hierarchy year > month > isoweek > date.
I get a problem correctly visualizing aggregates using this hierarchy. Example: when presenting revenue in a matrix using this ...
-1
votes
3
answers
132
views
Creating a recursively nesting array structure from flat data in JavaScript
Looking for some help to build a deeply nested data structure in JavaScript.
I will have input data that takes the form like this:
[
["World", "Asia", "Singapore&...
1
vote
2
answers
103
views
How to keep only some fields in json of list of json?
I have this data structure:
[
{
'field_a': 8,
'field_b': 9,
'field_c': 'word_a',
'field_d': True,
'children': [
{
...
1
vote
2
answers
228
views
Power BI Visual throws an error when changing from hierarchy date to standard date
I have a date column in my data. When I drop the column into the visual it shows as a hierarchal date like normal (Separate columns for Year, Qtr, Month, Day). When I go to change it to a standard ...