Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello,
I am very new to power BI.
I am trying to add a conditional column and in condition, I want to compare a column with "." or any text but i am getting error and it is asking to provide number number.
Does it compare only numbers?
or the column which i have selected is number then i how can i convert it into text, another question if i convert it into text then will it impact on dashboard?
An alternative approach for comparing number and text types would be to add Text.From() to the number column.
e.g.
| Have I solved your problem? Please click Accept as Solution so I don't keep coming back to this post, oh yeah, others may find it useful also ;). |
Thank you for reply
Hello - the columns you are comparing need to be of the same data type. If you change the actual type of the column it could have subsequent negative consequences. For example, if you convert a number to text and you are later summing that number, the sum function will fail because it is text. If you need to compare a number to text, you can add a column that compares the text value of another column to the comparison text. That way your original value is not impacted.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 |