Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi!
I have a table with 10 rows and 2 columns. I want to do a study on the "Ay1" column. The format of the “Ay1” column is set to text. However, some lines consist of numbers. How can I set some rows in the "Ay1" column as text and some rows as integers?
What I want to do may seem interesting, but it has a logical explanation 😊
Thank you...
Solved! Go to Solution.
Hi @Oguzhan0556 ,
You can only have 1 data type per column. However, you can use the VALUE or CONVERT function in your measures or calculated columns if you need to switch between types.
Value:
https://learn.microsoft.com/en-us/dax/value-function-dax
Convert:
https://learn.microsoft.com/en-us/dax/convert-function-dax
Please accept as solution if this answers the question- thanks!
Thank you all!
Hi @Oguzhan0556 ,
You can only have 1 data type per column. However, you can use the VALUE or CONVERT function in your measures or calculated columns if you need to switch between types.
Value:
https://learn.microsoft.com/en-us/dax/value-function-dax
Convert:
https://learn.microsoft.com/en-us/dax/convert-function-dax
Please accept as solution if this answers the question- thanks!
@Oguzhan0556 , You can same data type in dax, so you can use format, function to format the integers in a format , but you can not have mixed data type
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
99 | |
76 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |