New Enterprise DNA Initiatives

Filtering a table of values by 3 separate column values

I have a table with customer names. I’ve created 3 different measures which flag each customer as either New, Stalled, or Repeat (1=true, 0=false).

I’d like to create a filter where I can have 3 values, New, Repeat, or Stalled, where if you click one of those values, it displays only the list of customers which are flagged by that value. So if you click “New” it will only display customers in which there is a value of 1 in the “new orderer” column.

However, I’m not sure how to do this when the flag values sit in 3 different columns. I cannot create a single column that contains the values stalled, new or repeat, because in some cases, the same customer can be both stalled AND repeat.

Thanks for your help!

@pete.langlois
You have to create a calculated column with simple IF or Switch Conditions and then can use that column as a slicer.
OR
You can create a disconnected table with the selection name New, Repeat & Stalled defining the ranges with MIN & MAX column and then using that disconnected table in your measures.

Disconnected Table

1

Thanks.

Hi @pete.langlois, we aim to consistently improve the topics being posted on the forum to help you in getting a strong solution faster. While waiting for a response, here are some tips so you can get the most out of the forum and other Enterprise DNA resources.

  • Use the forum search to discover if your query has been asked before by another member.
  • When posting a topic with formula make sure that it is correctly formatted to preformatted text </>.
    image
  • Use the proper category that best describes your topic
  • Provide as much context to a question as possible.
  • Include the masked demo pbix file, images of the entire scenario you are dealing with, screenshot of the data model, details of how you want to visualize a result, and any other supporting links and details.

I also suggest that you check the forum guideline How To Use The Enterprise DNA Support Forum. Not adhering to it may sometimes cause delay in getting an answer.

Please also check the How To Mask Sensitive Data thread for some tips on how to mask your pbix file.

Hi @pete.langlois, we’ve noticed that no response has been received from you since the 16th of December. We just want to check if you still need further help with this post? In case there won’t be any activity on it in the next few days, we’ll be tagging this post as Solved. If you have a follow question or concern related to this topic, please remove the Solution tag first by clicking the three dots beside Reply and then untick the checkbox. Thanks!

Hi @pete.langlois , a response on this post has been tagged as “Solution”. If you have a follow question or concern related to this topic, please remove the Solution tag first by clicking the three dots beside Reply and then untick the check box. Also, we’ve recently launched the Enterprise DNA Forum User Experience Survey, please feel free to answer it and give your insights on how we can further improve the Support forum. Thanks!