Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
i have the following table with column names stage, lead date, salesqualify date, oppurtunity date, customer date, subscribe date only
how to get output column?
want output column using dax or power query.
.
stage | lead date | salesqualify date | oppurtunity date | customer date | subcribe date | output |
lead | 12-01-2018 | 12-06-2018 | null | 12-01-2018 | ||
salesQualify | null | 12-01-2018 | null | null | null | 12-01-2018 |
oppurtunity | null | null | 12-01-2018 | null | null | 12-01-2018 |
customer | null | 12-05-2018 | null | 12-06-2018 | null | 12-06-2018 |
subscriber | null | null | null | null | 12-08-2018 | 12-08-2018 |
if the stage column have lead, return lead date as a output column
if the stage column have salesqualifty, return salesqualify date as a output column
if the stage column have oppurtunity, return oppurtunity date as a output column,etc
Solved! Go to Solution.
Hi @Anonymous
Create a calcuated column with DAX
Column = SWITCH ( [stage], "lead", [lead date], "salesQualify", [salesqualify date], "oppurtunity", [oppurtunity date], "customer", [customer date], "subscriber", [subcribe date] )
Best Regards
Maggie
Hi @Anonymous
Create a calcuated column with DAX
Column = SWITCH ( [stage], "lead", [lead date], "salesQualify", [salesqualify date], "oppurtunity", [oppurtunity date], "customer", [customer date], "subscriber", [subcribe date] )
Best Regards
Maggie
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |