Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Create KPI Step - Extract text from multiple fields and create new column with 1 or 0

Hi, Could you please help me? I would like to create an indicator, to show the progress of each purchase step in the report. I am a beginner in DAX, researched posts and could not find something s...
  • MFelix's avatar
    5 years ago

    Hi Anonymous ,

     

    I would do the following in order to not create new columns:

    • Create a table with the steps (disconnected)
    • Create the following measure:
    Step value= IF(SEARCH(SELECTEDVALUE(Steps[Step]), SELECTEDVALUE('Table'[Step]),1, 0) > 0 , 1, blank())

     

    Now do the condittional formatting based on this measure:

     

    PBIX file attach.