Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
nasolme
Helper I
Helper I

GENERATE MATRIX WITH NEW LINE CREATED BY MEASURE

Hi Community,
Thanks to my database, I get this result.

nasolme_0-1653663572373.png

But I have to complete this matrix with new elements which are not present in the database, but which are obtained by a simple calculation. How can I get this result ?

nasolme_2-1653663988264.png

 

I tried to create a table and one to many relationship, and use switch(TRUE()... Without success. 


1 ACCEPTED SOLUTION
Anonymous
Not applicable

HI

You have to create 2 measure

Marge=[CA TTC]-[PRIX_REVIENT_TTC]

Marge%=divide(Marge,[CA TTC]

 

But first you do not seem to have already have lmeasure for CA TTC and Prix reveint TTC

CA TTC=sum([CA_TTC])

PR TTC=sum([PRIX REVEINT TTC]

 

View solution in original post

1 REPLY 1
Anonymous
Not applicable

HI

You have to create 2 measure

Marge=[CA TTC]-[PRIX_REVIENT_TTC]

Marge%=divide(Marge,[CA TTC]

 

But first you do not seem to have already have lmeasure for CA TTC and Prix reveint TTC

CA TTC=sum([CA_TTC])

PR TTC=sum([PRIX REVEINT TTC]

 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.