Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
swarren
Frequent Visitor

A single value for column xxxx in table 'yyy' cannot be determined.

A single value for column 'wv_middledonormove' in table 'crmPhone' cannot be determined. This can happen when a measure formula refers to a column that contains many values without specifying an aggregation such as min, max, count, or sum to get a single result.

 

When using a switch command:

Middle Donor Moves Phone =
SWITCH (
crmPhone[wv_middledonormove],
772490000, "Invite",
772490003, "Cultivate",
772490004, "Acknowledge",
772490005, "Service",
"None")
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@swarren , This can work as new column , not measure

 

Middle Donor Moves Phone =
SWITCH ( crmPhone[wv_middledonormove],
772490000, "Invite",
772490003, "Cultivate",
772490004, "Acknowledge",
772490005, "Service",
"None")

 

a new measure

 

 

Middle Donor Moves Phone =
SWITCH (
max(crmPhone[wv_middledonormove] ) ,
772490000, "Invite",
772490003, "Cultivate",
772490004, "Acknowledge",
772490005, "Service",
"None")

View solution in original post

2 REPLIES 2
swarren
Frequent Visitor

perfect! that totally worked. I don't know why i didn't see that before.

amitchandak
Super User
Super User

@swarren , This can work as new column , not measure

 

Middle Donor Moves Phone =
SWITCH ( crmPhone[wv_middledonormove],
772490000, "Invite",
772490003, "Cultivate",
772490004, "Acknowledge",
772490005, "Service",
"None")

 

a new measure

 

 

Middle Donor Moves Phone =
SWITCH (
max(crmPhone[wv_middledonormove] ) ,
772490000, "Invite",
772490003, "Cultivate",
772490004, "Acknowledge",
772490005, "Service",
"None")

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.