Thank for responding @Max … your solution lets me create a cal field… but when I pull country and this calc field in the view just to check initial values, I get an error saying you calc field expression contains invalid syntax.
Sorry to overturn your solution marking @Kristin . I was able to figure out why @Max 's calculation was showing syntax error but still haven’t found the solution to the original problem.
As the fields are unusable in the formula
If it does not solve your problem, can you please send us a screenshot with the calculated field you’re using, the visuals (in both Tableau and Quicksight) and details of the error? and if possible, a screenshot of the original data that has the fields in questions. We believe it must be something with the way the data is structured. The MIN as the aggregation for the new calc should not work either…
Thank you for responding. Through trial and errors I figured that even after applying Max’s syntax i was getting error in the view because of the string manipulation calculated field.
I also found a post where someone had similar issue. Basically, I cannot use a calculated field as a partition by field in a separate calculation… I need to move that calculation to the data set layer, which is kinda annoying and time-consuming.
Thanks again for following up… Are any of the fields [Country, Industry, Status] calculated field created within QS?
Because when I try using calc field it surely gives error.
ohh! Thanks for informing @gillepa . In my case I had 2 calculated fields after publishing the dataset to visualize…that is where the issue is happening