Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
btyc87
New Member

GENERATESERIES( ) problem in Power BI version Aug.2023

Snipaste_2023-09-09_11-16-34.png

Snipaste_2023-09-09_11-20-03.png

Snipaste_2023-09-09_11-23-02.png

How come ?😭

1 ACCEPTED SOLUTION

Now, I believe that this function has a deadly bug, the reason why this confusing consequence happened is because the accuracy of the decimal fraction, the main bug may caused by the increment.
When I keep adding 0 for the last number, until it's reached to 0.30000000000000001, 0.3 appeared, so I think the increment 0.1 here is not the REAL 0.1 as its looks, in fact the true increment number of 0.1 is actually 0.10000000000000001, that's why I can't match 0.3 with "C".Snipaste_2023-09-10_15-21-18.pngSnipaste_2023-09-10_15-50-59.png
I don't konw if it could be fixed in the next version, but it may cause errors when you use this fuction to generate a series like that, especially after it's used this in a slicer.

View solution in original post

3 REPLIES 3
tamerj1
Super User
Super User

@btyc87 

Looks like 0.3 is a special plate number, you have pay for it 😂

Now, I believe that this function has a deadly bug, the reason why this confusing consequence happened is because the accuracy of the decimal fraction, the main bug may caused by the increment.
When I keep adding 0 for the last number, until it's reached to 0.30000000000000001, 0.3 appeared, so I think the increment 0.1 here is not the REAL 0.1 as its looks, in fact the true increment number of 0.1 is actually 0.10000000000000001, that's why I can't match 0.3 with "C".Snipaste_2023-09-10_15-21-18.pngSnipaste_2023-09-10_15-50-59.png
I don't konw if it could be fixed in the next version, but it may cause errors when you use this fuction to generate a series like that, especially after it's used this in a slicer.

@btyc87 

Yes, amyou are absolutely right. I noticed this behavior of GENERATESERIES but never in a context that would create a serious problem. 
You did a greatly job investigating the issue. I urge you to report the same to Microsoft 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.