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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Anonymous
Not applicable

Conditional Column

Hello! Is it possible for conditional column to copy the value on the designated column? On this column i cant convert it to number since it have N/A on it i need to show N/A on the dashboard but i cant compute its percentage if it is not a number so im thinking to create a conditional column for this one. If that column have "N/A" it will copy N/A but if the column has value in it, it will copy the value and convert it to number. Is it possible? Thanks in advance!

 

111.png

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous ,

 

Power BI is calculated based on columns, so there could be only one data type in one column.

As far as I know, we can show null in number type column in Power BI.

RicoZhou_0-1667988235780.png

Change the column type to Whole Number. Then you need to use both [QualityFeedback] and [Custom] as conditions in your calculation, due to dax will think blank as 0.

 

Best Regards,
Rico Zhou

 

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

3 REPLIES 3
Analystmate
Helper II
Helper II

@Anonymous  According to your description, you want to Keep N/A value in QualityFeedback field. Since "N/A" is string value hence issue with compute its percentage. I would suggest do not disturb the existing column and create an additional conditional column for percentage computation purposes.

 

Analystmate_0-1667930618122.pngAnalystmate_1-1667930650503.png

 

Thanks

 

Anonymous
Not applicable

Wow this is genius! but if use the qualityfeedback 2 for my gauge chart. How to show that the agent got an N/A instead of 0?

Anonymous
Not applicable

Hi @Anonymous ,

 

Power BI is calculated based on columns, so there could be only one data type in one column.

As far as I know, we can show null in number type column in Power BI.

RicoZhou_0-1667988235780.png

Change the column type to Whole Number. Then you need to use both [QualityFeedback] and [Custom] as conditions in your calculation, due to dax will think blank as 0.

 

Best Regards,
Rico Zhou

 

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

 

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.