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
Hi, I have table Units with column UnitId1 which contain numbers in format string, I created calculated column UnitId with function
but it return 1 for all rows. See picture. What is wrong?
Thank you for help
Solved! Go to Solution.
Hi @Anonymous ,
Hi PetrK,
Is it possible that the matrix is showing a count of UnitID or other aggregation of the column? What does data view show?
Hi @Anonymous ,
why don´t you change the data type in power query? It is much easier in my opinion.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Data source is Direct Query, so it is not possible to use Power Query. I have found cause. In visual table column UnitId was set on "Count". After change to "Don't summarize" it is OK
Hi @Anonymous ,
Hi PetrK,
Is it possible that the matrix is showing a count of UnitID or other aggregation of the column? What does data view show?
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 38 | |
| 36 | |
| 29 | |
| 28 |
| User | Count |
|---|---|
| 127 | |
| 88 | |
| 78 | |
| 66 | |
| 64 |