cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors