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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.