Forum Discussion
MarkSL
Helper V
8 years agoMatrix show missing values as zero - pbix attached
Hi, It seems that this is a common question, but even from reading the many posts I am still stuck so I would really appreciate some assistance! My model has: 2 dim tabes: Date, Products. 2...
- Anonymous8 years ago
Hey MarkSL,
I added a stockqty measure and a hasdata measure and filtered based on hasdata.
StockQtyMeasure = IF(ISBLANK(SUMX(Purchases, Purchases[StockQty])), 0,SUMX(Purchases, Purchases[StockQty]))
HasData = IF(AND(Sales[SalesQtyMeasure]=0,[StockQtyMeasure]=0),"No","Yes")
Anonymous
8 years agoNot applicable
Hey MarkSL,
I added a stockqty measure and a hasdata measure and filtered based on hasdata.
StockQtyMeasure = IF(ISBLANK(SUMX(Purchases, Purchases[StockQty])), 0,SUMX(Purchases, Purchases[StockQty]))
HasData = IF(AND(Sales[SalesQtyMeasure]=0,[StockQtyMeasure]=0),"No","Yes")
- MarkSL8 years ago
Helper V
Hi Anonymous
That did the trick! Many thanks, really appreciate it :)
Cheers
Mark