Forum Discussion

mpalha04's avatar
mpalha04
Helper III
8 years ago
Solved

Text Count to Filter

Hi,

 

I am looking for a way to filter a text metric I have based on a distinct count. The context is that the filter is the # of orders for every client. Currently, I gather the # of orders based on a created measure that discount counts the transaction ID #, however, I cannot put this new measure in a filter. The transaction ID # is a text. 

 

The filter should be a between filter. Ex. If I select orders in between 0 to 100, the report will filter for all clients that made 0 to 100 orders. Can someone please help?

 

Thanks

  • Anonymous's avatar
    Anonymous
    8 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

5 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    mpalha04,

    Please share sample data of your table and post the expected result in table format so that we can test.

    Regards,
    Lydia

    • mpalha04's avatar
      mpalha04
      Helper III

      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.

       

      • Anonymous's avatar
        Anonymous
        Not 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