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
when i try to refresh data or create a new dashboard
Expression.Error: Valur "Preferred" is not on of the correct type.
i did a test with a mysql database with only one simple table and I saw the same message error
Solved! Go to Solution.
Dear Ross73312, thanks a lot.
After playing and reviewing everything, I uninstalled the odbc connector from mysql and also uninstalled the powerbi desktop. Install everything from scratch on my laptop and it was fixed.
If i had to guess, i'm expecting your Preferred column is either of type Date or Number. You might have a step that is trying to set this column as a type such as that. In your new data, some value is appearing that is not of that type. For example if you was numbers, you might have a value that contains a dash, or a blank.
Dear Ross73312, thanks a lot.
After playing and reviewing everything, I uninstalled the odbc connector from mysql and also uninstalled the powerbi desktop. Install everything from scratch on my laptop and it was fixed.
Hello! I have also the same problem! Did you change anything in your database? You had errors in data types? I am still trying to figure out what's going on. I uninstalled and installed Power BI and ODBC Connector but nothing has changed!
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 |
|---|---|
| 45 | |
| 38 | |
| 34 | |
| 21 | |
| 17 |
| User | Count |
|---|---|
| 66 | |
| 65 | |
| 31 | |
| 26 | |
| 26 |