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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
vquentin
Frequent Visitor

Unexpected behavior where formula result depends on whole column values but should be independent

Hello everyone,

 

I have a table where I calculate values from the tables in my model and values in the first column of my table. The first column of my table is generated with GENERATESERIES(start, stop, step).

I have wrestled for a few days with discrepancies between the values generated by the function and expected values. The result depend on the span of the range I generate with GENERATESERIES. For instance, looking at the row with a value of 2042, the result is different when the range is generated with either GENERATESERIES(2041.8, 2042.5, 0.1) or GENERATESERIES(2041.9, 2042.5, 0.1). In this case, the expected value is the right one in the second case.

 

Also, the behavior is the same when:

  • the series is generated with GENERATESERIES or using List.Generate in a Power Query.
  • the count is done with a measure or a calculated table or a calculated column

 

What am I missing?

 

Thank you !

 

Screenshot 2022-04-26 223512.pngScreenshot 2022-04-26 223415.png

2 REPLIES 2
SpartaBI
Community Champion
Community Champion

@vquentinstrange!

btw I see you are using <= and >=.

I would expect to see in these kind of calculations the = sign only in one of them. 

I can't see how it is related to your issue but maybe black magic 🙂

I have tried with <= and > instead. Same problem 🙁

But thank you for trying !

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.