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 Experts
Getting a switch formula error Consider using Value or Format cannot campair string and integer types...
ProductComplaints = SWITCH(
"Downward" ,IF(SELECTEDVALUE(_TrendDirection[Direction]) = "Downward Trending", [Downward]),
"Upward" ,IF(SELECTEDVALUE(_TrendDirection[Direction]) = "Upward Trending", [Upward]),
"NoChange", IF(SELECTEDVALUE(_TrendDirection[Direction]) = "No Trend", [NoChange]),
"NoTrend", IF(SELECTEDVALUE(_TrendTable[Trends]) = "No Trend", [NoTrend]),
"SignTrend", IF(SELECTEDVALUE(_TrendTable[Trends]) = "Significant Trend", [SignificantTrend]),
[PMSComplaintsMN])cannot see where i have gone wrong. i have two disconnect table and i am tryng to create one overall Switch formula..
Solved! Go to Solution.
You're missing the very first argument on the SWITCH, the expression to be evaluated
You're missing the very first argument on the SWITCH, the expression to be evaluated
HI AIB,
firstly apologies in reaching out to you directly, i was given your details as someone who is a DAX GURU and might be able to shed some light on a questioin that no can seem to answer...
https://community.powerbi.com/t5/Desktop/Relationship-issue-with-Measure/m-p/788266#M379643
I have a relationship issue with a measure and i cannot filter the bar graph on the link within the question and cannot see the wood for the tree on how to resolve this issue.
thanks AIB, i am half a sleep. much appreicated.
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.