I have a cube_1
![Image](http://s017.radikal.ru/i425/1209/3d/5bf611d71ebe.jpg)
I need to get the cube _2
![Image](http://i070.radikal.ru/1209/77/fbebc5e187fe.jpg)
How do i do?
Well you could be right. But it's their first post so how about we give them a chance?qml wrote:@lotsa, the problem is that the OP is not willing to try and do the research himself/herself, come up with an algorithm and implement it, but would rather just receive the ready solution from someone else. The OP is in fact so unwilling to do any work, that he/she even made no effort to properly describe his/her question and the things he/she has tried.
Code: Select all
[] = N:
If ( DayNo ( SUBST ( !Dim_Dates , 7 , 4 ) | '-' | SUBST ( !Dim_Dates , 4 , 2 ) | '-' | SUBST ( !Dim_Dates , 1 , 2 ))
<= DayNo ( SUBST ( DB('Cube_1',!Dim_Step,'Date_To') , 7 , 4 ) | '-' | SUBST ( DB('Cube_1',!Dim_Step,'Date_To') , 4 , 2 ) | '-' | SUBST ( DB('Cube_1',!Dim_Step,'Date_To') , 1 , 2 )) &
DayNo ( SUBST ( !Dim_Dates , 7 , 4 ) | '-' | SUBST ( !Dim_Dates , 4 , 2 ) | '-' | SUBST ( !Dim_Dates , 1 , 2 ))
>= DayNo ( SUBST ( DB('Cube_1',!Dim_Step,'Date_From') , 7 , 4 ) | '-' | SUBST ( DB('Cube_1',!Dim_Step,'Date_From') , 4 , 2 ) | '-' | SUBST ( DB('Cube_1',!Dim_Step,'Date_From') , 1 , 2 )),
1 , Continue);
Wasn't it Karl Marx who said:Gregor Koch wrote:Give a man a fish and you feed him for a day, teach a man how to....
Or maybe, it was Groucho...Karl Marx wrote:Give a man a fish you feed him for a day, teach a man to fish and you lose a great business opportunity.