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 All,
I am unable to use GenerateSeries for decimal values. I am generating a series from -1 to 100 as below GENERATESERIES(-1, 100, .01).
Solved! Go to Solution.
Hi @Anonymous ,
It is by design. You could change the format of data type to decimal number. Or you could use some functions to transform the data.
Column = ROUND('Table'[Value],2)
Table 3 = SELECTCOLUMNS(GENERATESERIES(-1,100,0.1),"Values",CURRENCY([Value]))
Reference:
https://www.sqlbi.com/articles/generating-a-series-of-numbers-in-dax/
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.
Hi,
I faced a similar issue but the problem is not with the round function or the format of the column. The problem is the single value slicer itself, so if you still get the same error, there is detailed information about another method on the link below.
Hi @Anonymous ,
It is by design. You could change the format of data type to decimal number. Or you could use some functions to transform the data.
Column = ROUND('Table'[Value],2)
Table 3 = SELECTCOLUMNS(GENERATESERIES(-1,100,0.1),"Values",CURRENCY([Value]))
Reference:
https://www.sqlbi.com/articles/generating-a-series-of-numbers-in-dax/
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Kudos are nice too.
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 |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
138 | |
107 | |
104 | |
82 | |
63 |