Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I added a simple custom column to a table. Using MID text function I get the values as of position 4 in the original column. An Example value could be "52 Bikes" which should lead to "Bikes".
This works fine mostly, but in some cases I get a capitalized value "BIKES" instead. This seems pretty random, for some column values it even depends on the number of characters I get from the original value, so MID("52 Bikes", 4, 3) might lead to "BIK", but MID("52 Bikes", 4, 5) becomes "Bikes". Is this intended behaviour and why??
Solved! Go to Solution.
Please remember that for the most part Power BI / DAX is NOT case sensitive. If you have both "52 Bikes" and "40 BIKES" in your data then the function will randomly pick one of the spellings when it forcibly groups the results.
You can test that by simply creating a table like this
Note: Power Query is case sensitive.
Thnx that makes sense in this context and I was able to solve by adding the column in the query.
Please remember that for the most part Power BI / DAX is NOT case sensitive. If you have both "52 Bikes" and "40 BIKES" in your data then the function will randomly pick one of the spellings when it forcibly groups the results.
You can test that by simply creating a table like this
Note: Power Query is case sensitive.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 17 | |
| 11 | |
| 10 |