Hi all,
I'm developing a simple data model with 3 dimensions and 2 fact tables (see the FM model in the attached picture, please)
Two of these dimensions are conformed while only one is related to a fact table
When i create a report using conformed dimension all works well, but when I also use the not conformed dimension (named "Modalità") i have a bad behavior (see the simple list in the picture)
I would like that "Capitale" and "codModalita" repeat for each rows. In particular, "Capitale" is considered from Fact_P and codmodalita from "Modalità" (idF and IdIn are considered using DIM_A, while Totale from Fact_F and idLotto from "Lotti")
How can I change my model ?
I hope in your help
Many thanks in advance!
Ciao rosanero, il risulato della query che viene generata mi sembra corretto per come sono impostate le informazioni nel modello.cosa intendi per replicare cod modalitá? Essendo legata alla fact p apparira giustamente solo sulle righe con capitale valorizzato.nella seconda parte della query non verra introdotta questa dimensione e quindi il campo modalita non fara parte della query con totale.quello che vuoi mi sembra una cross join.corretto?
Inviato dal mio SM-T719 utilizzando Tapatalk
Se vuoi spiegarmi meglio puoi contattarmi in privato.aggiungo che probabilmente la misura capitale viene appare una sola volta nelle righe del report perché entra in gioco la join con la di modalitá che filtra i possibili risultati.dovresti provare a cambiare il left join con dim modalita per avere tutto dalla fact p
Inviato dal mio SM-T719 utilizzando Tapatalk
Hi,
I think you didn't undestand...I haven't left join in my model. Anyway, I also suggest you to write in english following the forum netiquette ;-)
Many thanks for your time
Hi rosanero,could you show wuth another picture or excel file what should be your desired result on report?
Inviato dal mio SM-T719 utilizzando Tapatalk
Hi,
I attached the target I would achieve
Many thanks
I think that it is not possibile to reach this result simply modifing your fm model.it s more to do in report studio.could you post the result without modalitá.only with conf dimension and two fact tables?thx
Inviato dal mio SM-T719 utilizzando Tapatalk