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.
Hi,
I am using this sample table:
I would like to set-up a DAX wherein:
If Check 1 = "Export" show "Export",
If Check 1 = "Domestic show "Domestic",
If Check 1 = "Others", go to Check 2,
If Check 2 = "Yes", show "Import",
If Check 2 = "No", go to Check 3,
If Check 3 = "Yes", show "Import",
If Check 3 = "No", show "Unclassified"
Here is a sample result when the above is used:
Appreciate your kind assistance.
Best regards,
Mark V
Solved! Go to Solution.
Hi,
Please check the below picture and the attached pbix file.
Result CC =
SWITCH (
TRUE (),
Data[Check1] = "Export", "Export",
Data[Check1] = "Domestic", "Domestic",
Data[Check2] = "Yes", "Import",
Data[Check3] = "Yes", "Import",
Data[Check3] = "No", "Unclassified"
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
Hi,
Please check the below picture and the attached pbix file.
Result CC =
SWITCH (
TRUE (),
Data[Check1] = "Export", "Export",
Data[Check1] = "Domestic", "Domestic",
Data[Check2] = "Yes", "Import",
Data[Check3] = "Yes", "Import",
Data[Check3] = "No", "Unclassified"
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
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 |
---|---|
105 | |
97 | |
80 | |
66 | |
62 |
User | Count |
---|---|
145 | |
113 | |
105 | |
85 | |
65 |