Forum Discussion
xile015
8 years agoNew Member
using a calculated column for conditional column
i have an excel file with 5 columns: name, quiz1, quiz2, quiz3, and quiz4
the name column has the names of the students (unique) and each of the quiz columns have their scores for each quiz
after loading the table to power bi, i used conditional columns to group the scores into four buckets:
below 70
70-79.99
80-89.99
90 and above
from there, i was able to create a pie chart for each quiz to show how many % of the population got below 70, 90 and above, and so on
i need to do the same on a different dashboard but instead of an excel file that i can load into power bi, they have the scores on calculated columns. when i tried creating a conditional column using the calculated columns, they do not appear available in the query editor and not on the conditional column pop up itself.
is there a problem here and is there any workaround?
the name column has the names of the students (unique) and each of the quiz columns have their scores for each quiz
after loading the table to power bi, i used conditional columns to group the scores into four buckets:
below 70
70-79.99
80-89.99
90 and above
from there, i was able to create a pie chart for each quiz to show how many % of the population got below 70, 90 and above, and so on
i need to do the same on a different dashboard but instead of an excel file that i can load into power bi, they have the scores on calculated columns. when i tried creating a conditional column using the calculated columns, they do not appear available in the query editor and not on the conditional column pop up itself.
is there a problem here and is there any workaround?
Hi xile015,
There isn't a problem in this scenario. The column created in the Data view won't appear in the Query Editor. You can create a Conditional column in the Query Editor instead.
Best Regards,
Dale
4 Replies
- v-jiascu-msftMicrosoft Employee
Hi xile015,
There isn't a problem in this scenario. The column created in the Data view won't appear in the Query Editor. You can create a Conditional column in the Query Editor instead.
Best Regards,
Dale
- v-jiascu-msftMicrosoft Employee
- AnonymousNot applicable
Hi
It does not resolve the issue ,when i create new column through formula......it does not appear when i am trying to use it on conditional column
Regards
Vaneet
- srajResponsive Resident
Just as mentioned above I tried to create a column in the custom column, changed the type to DATE STILL SEE error
= Table.AddColumn(#"Changed Type", "7th", each [Merged] + 7)
