Forum Discussion
Filter Matrix table to exclude zero balances
Anonymous , if you want to filter a measure in a measure the you need values for one visual group by or summarize for more than one
example measure =
Var _1 = calculate(COUNTROWS(
FILTER('Aged Debtor Groups',
'Detail Customer Ledger'[#Days Overdue Mixed] >= 'Aged Debtor Groups'[Min] &&
'Detail Customer Ledger'[#Days Overdue Mixed] <= 'Aged Debtor Groups'[Max] ) ))
return
Sumx(filter( ADDCOLUMNS (Summarize ( 'Aged Debtor Groups'' , 'Aged Debtor Groups'[Brand] , 'Aged Debtor Groups''[Customer No]) ,
"_measure", _1 ) , _measure >0), [#Invoice Values])
Hey Amitchandak
This is what I came up with, and probably totally hashed it.
I think I am missing something here. The 'Aged Debtor Groups' table does not include any Debtor names. That is contained in the 'DimCustomer' table.
"_measure", _1 ) , _measure >0), [#Invoice Values])
So this is the measure I created but totally hashed it 😞 wanting to include the Dim Customer table in some way. I am also not clear on where the BrandCustNo&Name with zero balances are being eliminated.
I really appreiate your help to this point.
cheers
D
- v-janeyg-msft4 years agoCommunity Support
Hi, Anonymous
According to your needs, in theory, you only need to make your measure on 'values' not display 0 but display blank(), then empty rows should not be displayed automatically.
We don't know your data, and it is difficult to understand your situation based on the measures you provide.
If you can share some insensitive data and expected output to help us clarify your scenario, you can help you soon.
Best Regards,
Community Support Team _ Janey- Anonymous4 years agoNot applicable
Thank you so much for your reply Janey
I will get some data together & upload just so we can get to the bottom of all of this
Thnaks again
Deon
- Anonymous4 years agoNot applicable
BTW - I totally hashed the measure that I provided, so no doubt you would have been confused 🙂
Apologies for that