tableau / extensions-api

Extensions API sample code and developer docs.
http://tableau.github.io/extensions-api
MIT License
268 stars 251 forks source link

Tableau 2020.2 summary data behaviour #308

Closed merlijnbuit closed 2 years ago

merlijnbuit commented 4 years ago

Hi,

Some of our extensions are crashing with Tableau 2020.2. I opened the same extension in 2020.1 and 2020.2 beta and I found a difference in the summary data:

2020.1 Schermafbeelding 2020-04-21 om 09 28 55

2020.2 Schermafbeelding 2020-04-21 om 09 29 39

It looks like measures in 2020.2 are being exported as strings. The result is that our calculations in extensions are not working anymore because measures look like this now: '2000+2000+2000' instead of 6000

Thanks Merlijn

johnDance commented 4 years ago

Hi Merlijn: Sorry for the hassle. We found this issue, and it is fixed, but it didn't make the beta release. I'll check with @Kovner and see if there is going to be an update to beta.

In the next beta and/or 2020.2 release, the values will be their native type again. Also, we are adding an additional field: nativeValue. This will be in the extension library 1.4. The benefits of nativeValue is that Date and Date-Time fields are exported as Date objects rather than strings. In addition, if you have to worry about special values, nativeValue makes this much easier, because rather than being a string "%null%", it will be null.

John

merlijnbuit commented 4 years ago

Hi John,

Thank you, that sounds perfect! We are starting with the 1.4 beta next week. We will keep you and the team posted on bugs and feature requests and positive feedback.

johnDance commented 4 years ago

Merlijn: Just to clarify the nativeValue update in 1.4. I should have mentioned this above. Because of string result defect in the beta 2020.2, all the nativeValues will be null. :-( Both of these issues will be fixed in the updated 2020.2 beta, or final. John

merlijnbuit commented 4 years ago

Hello John,

As Tableau 2020.2 is released on Tableau Online and I can't find a 2020.2 beta 2. Can you please verify that this is fixed when 2020.2 releases?

Merlijn

johnDance commented 4 years ago

Will Do. Meanhile @Kovner - can you get Merlijn connected with beta 2?

Kovner commented 4 years ago

We only release beta per release now. I will reach out to Merlijn offline though.

bcantoni commented 2 years ago

Closing as fixed.