Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

How to mutiply data for the matrix table

Hi all,

 

I have two tables like :

 

How can I do this mutiplication :

 

Also if any value is empty or 0 , how can it displayed as 0 here?

Can someone explain this with help of both Measures / Custom column?

 

Update :

I am able to Create a Custom table like below and I can get below results, but this seems takes lot of data. can anyone help me for a creating custom measure ?

 

Custom Table :

Summary = SUMMARIZE('Fact','Fact'[MUID],'Fact'[Category],"Frequency",COUNTX('Fact',COUNT('Fact'[TBID])),"MF",COUNTX('Fact',COUNT('Fact'[TBID]))* (ALLSELECTED(tb_weights[Weight])))
 
Screenshot :

 

 

 

 

 

 

1 Reply

  • Greg_Deckler's avatar
    Greg_Deckler
    Icon for Community Champion rankCommunity Champion

    Anonymous Seems like you would want to create a measure for this, not sure where the 6 is coming from.  You could use LOOKUPVALUE or just MAX if the tables are related. In that measure, you could ensure that you get zeros as well doing something like:

    Measure = 
      VAR __Calc = <some calculation>
    RETURN
      IF(ISBLANK(__Calc),0,__Calc)