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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
xile015
New 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?
1 ACCEPTED SOLUTION
v-jiascu-msft
Microsoft Employee
Microsoft 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.

using_a_calculated_column_for_conditional_column

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
sraj
Responsive Resident
Responsive 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)

sraj_0-1645735909237.png

 

v-jiascu-msft
Microsoft Employee
Microsoft Employee

Hi @xile015,

 

Did you solve it?

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not 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

v-jiascu-msft
Microsoft Employee
Microsoft 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.

using_a_calculated_column_for_conditional_column

 

Best Regards,

Dale

Community Support Team _ Dale
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

Top Kudoed Authors