Forum Discussion
Count blank in matrix
Did you try changing
Contador :=
if(
COUNTROWS('Article')*COUNTROWS(Size)-COUNTROWS('Stock Price')<1,
0,
COUNTROWS('Article')*COUNTROWS(Size)-COUNTROWS('Stock Price')
)What was the result? If you could send a the pbix file that would help a lot, depending on the data
SteveCampbell Yes
Result:
Total in a single "Contador" show incorrect values, but in the last "Contador" that is correct, but the total show 1, and it is incorrect D:
I'll tried send the pbix file
- v-huizhn-msft8 years agoMicrosoft Employee
Hi ivancornejo_,
Where is your .pbix file? Have you resolved your issue? If you have, welcome to share your solution or mark the right reply as answer. More people will benefit from here.
Best Regards,
Angelia- ivancornejo_8 years agoFrequent Visitor
Oh, sorry
I was very busy last week.
here is the .pbix file:
https://drive.google.com/file/d/1PLzB6IflxMZR8128BV_M31BAQ0Q4JN7d/view?usp=sharingand still I can't resolve this :/
thanks.
- v-huizhn-msft8 years agoMicrosoft Employee
Hi ivancornejo_,
Based on my understanding, the first visual is right. For second visual, what result you want to get, how about using the formula below?Contador = SUMX('Daily Stock',if( COUNTROWS('Article')*COUNTROWS(Size)-COUNTROWS('Daily Stock')<1, 0, COUNTROWS('Article')*COUNTROWS(Size)-COUNTROWS('Daily Stock') ) )
Best Regards,
Angelia