Forum Discussion
Text Count to Filter
- Anonymous8 years ago
mpalha04,
It is not possible to drag a measure to slicer. But you can drag the above measure to visual level filter of your visual, then set different range in the visual level filter and use it to filter your visual.
Regards,
Lydia
mpalha04,
Please share sample data of your table and post the expected result in table format so that we can test.
Regards,
Lydia
Please see sample data below.
Essentially, I want a filter that distinct counts 'NetSuiteId', but it's in text format. The measure I created to count 'NetSuiteId' cannot be used as a metric in a filter.
- Anonymous8 years agoNot applicable
mpalha04,
What expected result would you like to get based on the above sample data? What is the DAX for the measure you mention? You can drag the measure to visual level filter and use it to filter your visual.
Regards,
Lydia- mpalha048 years agoHelper III
I'd like to have a slicer where users can input a range that distinct counts 'NetSuite Id'. 'entity' is a code that represents a customer and 'NetSuite Id' represents an order # related to the customer. So, an input filter for between 2 and 4 orders filters the data to show those customers that have made between 2 to 4 orders.
The DAX formula I currently use to count the # of orders is below:
# of Orders = IF(LASTDATE('Date Table'[Date])>TODAY(),BLANK(),(DISTINCTCOUNT(vWorkOrder[NetsuiteId])))
However, this measure cannot be used in a filter. I'm guessing PBI doesn't allow for calculated measures to be used as filters.
- Anonymous8 years agoNot applicable
mpalha04,
It is not possible to drag a measure to slicer. But you can drag the above measure to visual level filter of your visual, then set different range in the visual level filter and use it to filter your visual.
Regards,
Lydia