cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

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 :

skondi_0-1605018633385.png

 

 

 

 

 

 

1 REPLY 1
Super User IV
Super User IV

@skondi 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)

---------------------------------------

@ me in replies or I'll lose your thread!!!

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
secondImage

Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors