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.
Hey,
I have the following expression in QlikView and I need it's equivalent in PowerBI. DIRECTINDIRECT needs to be a new column.
if(SUBPSL='Man',if(DIRECT_INDIRECT= 'Direct' , 'DIRECT', if(DIRECT_INDIRECT= 'Indirect', 'INDIRECT' ))) as DIRECTINDIRECT
Any Suggestions? Thank You!
Solved! Go to Solution.
Hi @Anonymous,
Try to use this formula:
DIRECTINDIRECT = SWITCH ( TRUE (); 'Table'[SUBSPL] = "Man" && 'Table'[DIRECT_INDIRECT] = "Direct"; "Direct"; 'Table'[SUBSPL] = "Man" && 'Table'[DIRECT_INDIRECT] = "Indirect"; "Indirect" )
This is a calculate column
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous,
Try to use this formula:
DIRECTINDIRECT = SWITCH ( TRUE (); 'Table'[SUBSPL] = "Man" && 'Table'[DIRECT_INDIRECT] = "Direct"; "Direct"; 'Table'[SUBSPL] = "Man" && 'Table'[DIRECT_INDIRECT] = "Indirect"; "Indirect" )
This is a calculate column
Regards,
MFelix
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCovering 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 |
---|---|
113 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |