Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi There,
I'm new to this power BI, and i have strugling with these matter.
Please help me how to use DAX Switch function based on data above.
Thanks
Solved! Go to Solution.
Hi,
Please try the below.
It is for creating a new column.
Loyality CC =
SWITCH (
TRUE (),
Customer[Purchased Amount] <= 30, "Level C",
Customer[Purchased Amount] <= 60, "Level B",
Customer[Purchased Amount] > 60, "Level A"
)
Hi,
Please try the below.
It is for creating a new column.
Loyality CC =
SWITCH (
TRUE (),
Customer[Purchased Amount] <= 30, "Level C",
Customer[Purchased Amount] <= 60, "Level B",
Customer[Purchased Amount] > 60, "Level A"
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.