Forum Discussion
Count blank in matrix
Thanks Vvelarde
I follow your step and I get this,
But when I change
AllSizes = COUNTROWS(ALLSELECTED(Table1[Size])) --> AllSizes = COUNTROWS(ALLSELECTED(Size[size]))
Matrix show this,
As you can see, Total for (NoSizeAvailable-Total) is correct, I have 8 Articles in Blank , but the others numbers are incorrect
and the same with the others measures :/
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
- ivancornejo_8 years agoFrequent Visitor
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.