Click here to Skip to main content
15,891,875 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Bonjour ,
Bref , je suis en train de développer une application BI à l'aide de l'outil SQL SERVER 2012 .
Le tout s'est passé bien et comme il faut .
Je décrits mon problème :
L'application BI est développée pour une société industrielle , qui a comme le travail horaire sur 3 postes (Matin , Après_Midi , Nuit ) .
Les dates dans La table "Date" sont des entiers (par EXp '2015-07-22' sera 20150722) pour des raisons de performance (Chargement des données ...)
Aussi les heures sont converties en entier (par exemple : id = 1 revient à la tranche horaire 0h-1h , qui est le fils de la poste Nuit ).

==> Matin de 06h à 14h
==>Après_Midi de 14hh à 22h
==>Nuit de 22h à 06h

Le problème c'est comment par exemple calculer une mesure dans la poste Nuit .
La réponse est claire : utuliser le cumul des deux dates , la première de 22h à 00h
et la deuxième de 01h à 06 h . Mais comment ???????
Dans SSAS , on ne peut pas filtrer deux fois .
SVP j'ai besoin d'aide .
Merci

[edit]
From google translate:
Hello ,
In short, I am trying to develop a BI application using the tool SQL SERVER 2012.
The everything went well and properly.
I described my problem:
The BI application is developed for an industrial company, which like the working schedule of 3 positions (Morning, Après_Midi, Night).
The dates in the table "Date" are integers (for EXP '2015-07-22' will be 20,150,722) for performance reasons (Loading data ...)
Also the hours are converted in full (for example: id = 1 returns to the time slot-0h 1h, who is the son of the Night post).

== & Gt; 06h to 14h morning
== & Gt; Après_Midi of 14hh to 22h
== & Gt; Night from 22h to 06h

The problem is how to calculate such a measure in the Night post.
The answer is clear: utuliser accumulated two dates, the first from 22h to 00h
and the second from 01h to 06 h. but how ???????
In SSAS, you can not filter twice.
Please I need help.
Thank You
[/edit]
Posted
Updated 22-Jul-15 0:47am
v2
Comments
OriginalGriff 22-Jul-15 6:48am    
This is an English language site, and all questions and answers need to be in English.
Please try to use Google Translate if necessary to post in English in future.

Ceci est un site de langue anglaise, et toutes les questions et réponses doivent être en anglais.
S'il vous plaît essayez d'utiliser Google Translate si nécessaire pour publier en anglais à l'avenir.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900