Forum Discussion
sabinocivita
4 years agoFrequent Visitor
Use Distinctcount measure as filter
Hi all, I created a measure that is a distincount of a column (ie invoice number). Now I'd like to use distintcount as a filter in a dashboard. Example: in table object I have first column that is ...
- 4 years ago
Hi, sabinocivita
You can consider creating a filter measure and then applying it to the table vissual filter pane to filter data.
visual filter = IF ( ISFILTERED ( 'filter field'[count] ), IF ( [distinctcount of invoices] <= SELECTEDVALUE ( 'filter field'[count] ), 1, 0 ), 1 )Best Regards,
Community Support Team _ Eason
sabinocivita
4 years agoFrequent Visitor
Can you please tell me how to create the group table?
- technolog4 years ago
Super User
You can try create calc table like this:
Calc table = SUMMARIZE ( 'Table', 'Table'[ClientID], "InvoiceCount", DISTINCTCOUNT('Table'[InvoiceID]) )