unsupported aggregation. Learn more about TeamsThe aggregation rule is determined automatically at run time. unsupported aggregation

 
 Learn more about TeamsThe aggregation rule is determined automatically at run timeunsupported aggregation Compatible drivers configured for automatic encryption do not support insert commands with the following behavior: Inserting a document with Timestamp(0,0) associated to an encrypted field

Materialized is an absolute requirement because of performance reasons, and it is required, that the view updates itself on commit. benwtrent Jul 29, 2019. Loading. If this posts assists in resolving the question, please mark it helpful or as the 'correct answer' if it resolves the. Returns expression of the current instance cast to the type specified. Since there were no actual relation between the tables, this is the way I tried assigning the relationship:In a grouped aggregation, aggregate values (e. ” Group expressions: Expressions that partition the data into categories shown in a data visualization, like “by Region” or “by Sales. Most used methods <init> Popular in Java. In this source create a calculated field to pull out the KMs on the date of oil change. We are allowed to reference the derived table totals1 in the WHERE clause, as you already do but here we are actually referencing a column, not the table as a whole:. Observations : 1. Tableau will throw an error: “Cannot blend the secondary data source because one or more fields use an. select t. CompanyID =. An aggregate_metric_double field is an object containing one or more of the following metric sub-fields: min, max, sum, and value_count. @Point Partner BI Team (Member) hi there,. Hi everyone, my first attempt to blend 2 data sets was not successful (Sheet called 1st attempt - attached), because its appears the following message "Cannot blend the secondary data source because one or more fields use an unsupported aggregation". 0, is no longer supported. In the primary data source I have some calculations that work off of group membership too--some true false that feed into the measures via INT function for a Max aggregation. average. So you're basically passing a string 'converted' to the python built-in sum function which expects an iterable of int. We use three kinds of cookies on our websites: required, functional, and advertising. endswith. The Queryable Encryption Public Preview, released in version 6. Embedded Document Fields. I created a machine learning job which uses two metrics as detectors defined as aggregations of fields in my index and everything was working great (Job_0, Datafeed_0 code below). Upgrading ESXi to 7. Local Cumulative Computation makes the Process more Efficient. and no matter how I try to structure it - even doing all the calculations out in one field - I get a perfectly valid object that cannot be dragged into a sheet that has ANYthing else in it, citing 'Unsupported Aggregation' and turning red. automatic. import pyspark. Average is not supported as Default Aggregation in CDS when claiming @Analytics. NET dialect) to turn each line into 31 documents. Unsupported aggregation: The following aggregations cannot be inverted: Some aggregation types do not support data entry. For more information on aggregation and exception aggregations, refer to Disaggregation of Values During Data Entry. Unsupported aggregation: The following aggregations cannot be inverted: <aggregations>When trying to use COUNTD() it gives this error: cannot blend secondary data source because one or more fields use an unsupported aggregation when hovering over the Measures because it is now red. The strange thing is running the query (the one that the Java API gives on a to string) through the REST endpoint works fine. It is not possible to combine the secondary data source because one or more fields use an unsupported aggregate. The examples in this guide use the restaurants collection in the sample_restaurants database provided in the Atlas sample datasets . costcenterkey, adr. Upvote Upvoted Remove Upvote Reply. Some of my table calculation are the follow: RED FIELD Tableau Name of First Math Course= IF [Tableau Period of First Math Course]== [Academic Period] AND ( [Subject Desc]=='Mathematics' OR [Subject Desc]=='Mathematics. Supported Aggregation Pipeline Operators Atlas Data Federation supports all the aggregation pipeline operators. You can. As for transform: date_histogram is supported as part of group_by, I wonder why you try to use it in the aggregation part. Python is confused between its built-in sum function and the pyspark aggregation sum function you want to use. But a filter or range gives org. Many Tableau developers find data blending frustrating. Unsupported Field Types Queryable Encryption with equality queries is generally available (GA) in MongoDB 7. A sample of Table 2 (secondary) structure. The current aggregation appear as a part of the measures name in the view. NET, we hope to speed up your development cycle and increase your productivity in three ways: 1) by making it easier for you to see how your idiomatic queries map to the MongoDB Query API, 2) by helping you spot unsupported expressions and invalid queries faster (at compile time, baby), and 3) by. Hi All - its been a while since I chimed in and I did find a workaround for my case. e when we put Sales in view it appears as SUM (Sales) or MAX (Sales). average. Applications using explicit encryption may use this page as guidance for issuing read and write operations against encrypted fields. ×Sorry to interrupt. Unsupported aggregation type. Aggregated values are computed by aggregating the elements of the expression rather than the result. e. since i want only offername from secondary source to the view and the measures are produced from primary datasource is pos_trn (default. 0. Mean of gradesWe have an enterprise data source that is an SSAS Tabular model. Unsupported exception aggregation: The following exception aggregations cannot be inverted: <exception aggregations> Some exception aggregation types do not support data entry. As described by Moodle HQ, this method is "An old, now unsupported, aggregation strategy provided here only for backward compatibility with old activities. In effect, the correlated subquery is run after the aggregation, so it can only use columns and. Sum, average, and median are common aggregations; for a complete list, see List of Predefined Aggregations in Tableau. ”Unsupported aggregation type. Hello Jim, Thank You for your reply. ) (if the join requires aggregation or grouping, you'll have to use a derived or virtual table: JOIN ( SELECT. The one drawback is that DB2 blending does not support "non-additive aggregates" like COUNTD() and MEDIAN(). movies` a INNER JOIN `<snip>. Drilldown query with no available dimensionAWS DocumentDB with C# MongoDB driver, unsupported efficient pagination. Hi, date_histogram is not support as aggregation in transform yet but only as part of group_by. I created a calculated field that checks to see if Subsidized Price is not null, and added that to the filters shelf, but doing so turns my median calculation into an unsupported aggregation. 01 MB) PDF - This Chapter (0. The following rules apply in determining the number and size of employers, as required by the MSP provisions for the aged and disabled: ( a ) All employers that are treated as a single employer under subsection (a) or (b) of section 52 of the Internal Revenue Code (IRC) of 1986 ( 26 U. 3 and I have created aggregates AGG for fields from data extract and excel file. AnalysisException: select list expression not produced by aggregation output (missing from GROUP BY clause?) 4. How to rewrite my calculation to fix the error: cannot blend the secondary data source because one or more fields are use and unsupported aggregation I have multi data sources blending and can not bring my calculated field into the main source. I'm building aggregations like: AggregationBuilders. Cannot blend the secondary data source because one or more fields use an unsupported aggregation. But when i run the query i get unsupported aggregation type [multi_terms] How can i get SQL DISTINCT Pair of Values in Elasticsearch. So the reason why the build-in function won't work is that's it takes an iterable as an argument where as here the name of the column passed is a string and the built-in function can't be applied on a string. Hevo is a No-code Data Pipeline. FIXED requires that you have row-level access to the rows in the secondary source. @V1NAY8 For some scripts we probably can't aggregate (like you've found with text). non-currency measure. Currently windowed aggregations cannot be combined in the same SELECT statement with GROUP BY, HAVING, or any. AnalysisException: Correlated scalar subquery 'scalarsubquery (adr. Usually in this case it is recommended to upgrade the document to a newer version. However, some operators are only available in queries. This aggregation is unsupported: Quarter . Supported Aggregation Stages. Unsupported. Share. unsupported aggregation. I get "unsupported aggregation type [multi_terms]" @Val – Orkun. There are non-additive aggregates from a multi-connection data source with an active connection. Like below,. Cannot blend the secondary data source because one or more fields use an unsupported aggregation. Cannot blend the secondary data source because one or more fields use an unsupported aggregation Hi. This is because Calculation1 is an aggregate but the rest of the fields you're using are not aggregates. if the JOIN condition is NOT UNIQUE in the above, we assume there is one student with a matching row having both a common sid and. MovieId, STRING_AGG(FullName) AS Actors FROM `<snip>. If you have selected the modeling properties Activate Data and Write Change Log, you can choose from the following. When you try to do that, Tableau generates the "Cannot blend the secondary data source because one or more fields use an unsupported aggregation" error, turns the offending pill red, and grays out the view. Tommy Sims (Member) 7 years ago. All Rights ReservedAn old, now unsupported, aggregation strategy is provided here only for backward compatibility with old activities. Please also note that. Here's how I was able to solve it:This page documents the specific commands, query operators, update operators, aggregation stages, and aggregation expressions supported by MongoDB version 6. When I calculate the average of a measure and use the filter, it works perfectly fine. Hi Chris. Functional cookies enhance functions, performance, and services on the website. Cut out the three explanatory lines at the top (can be done with regex) Run a regex replace on the file (I’ve used . Any change done to the system defined settings like "ID, Description, Account Type, Hierarchy, Unit & Currencies, Aggregation Type, Exception Aggregation Type, Scale, Decimal Places, Calculate On, Hide" will have impact across all the. The Queryable Encryption Public Preview, released in version 6. Ditto: { FIXED [Patient ID] : COUNTD([Patient ID]) } Yet there it is in your workbook, very happy and functional. According to the documentation, Amazon S3 Select supports AVG, COUNT, MAX, MIN, and SUM. I’ve found a couple examples in the forums. Fields of type aggregate_metric_double are summary fields that only support a limited set of aggregations. A. Drill down to the leaf level to enter data. Time-interval with identical time points. 0 may result in the physical switch disabling the LAG ports. The examples in this guide use the restaurants collection in the sample_restaurants database provided in the Atlas sample datasets . sql) A class which can consume and produce dates in SQL Date format. Cannot blend the secondary data source because one or more fields use an unsupported aggregation. But when I am trying to do that I am getting an errorUnsupported aggregate subquery with non-equality correlated predicates. Cannot blend the secondary data source because one or more fields use an unsupported aggregation . Let me look into the “Scaffold” option. I have 2 filters (BU ISNull and CORPID) applied from secondary data source. You need to show same values as long as you choose districts within a same area. Cannot blend the secondary data source because one or more fields use an unsupported aggregation. Call it [Start KM]: IF ATTR ( [KM Date])=ATTR ( [OIL]. Data blending has some limitations regarding non-additive aggregates such as COUNTD, MEDIAN, and. Aggregation is computed as an average of the values in the result set for this object. I have an LOD expression that works fine when the data source is the primary, but when I switch it to a secondary data source and then add the LOD expression to a view I get the annoying, "Unsupported aggregation" issue. All I need from the grouping is sorting and organizing the output. In both instances, once I take customer country from my secondary source, I get this error: Cannot blend secondary data source as one or more fields use an unsupported aggregation . Next, create a table calc using the [Start KM] to calculate the total KMs: LINQ allows you to construct queries against strongly typed collections of objects by using language keywords and operators. What the message is basically saying is that you can’t reference a value in one row and also have aggregations. Norbert, I'm baffled. I am getting Cannot blend secondary data source because one or more fields used an unsupported aggregation. Does anyone have a solution / workaround that would work in my case? Thanks in advance! Ofir. In case of window-based aggregations, aggregate values are maintained for each window the event-time of a row falls into. Applications using explicit Queryable Encryption may use this page. 9 KB. However, unsupported Ni NPs still suffer from different drawbacks such as deactivation by aggregation, low durability, low dispersibility, and electron and hole recombination. Driver 2. filter (name). Until SRM v3. you are applying string values . Jim. To learn more about the Document type, see Documents. Ken Flerlage (Member) 5 years ago. Compatible drivers configured for automatic encryption do not support insert commands with the following behavior: Inserting a document with Timestamp(0,0) associated to an encrypted field. e. The PipelineDefinitionBuilder class provides a type-safe interface for defining an aggregation pipeline. Python Official Documentation. 0. I've read through the various posts on here, plus the general troubleshooting posts on the Tableau page on blending data, but can't find a solution. Hot Network QuestionsOfficial drivers compatible with Queryable Encryption parse read and write operations for operators or expressions that do not support BinData values or that have abnormal behavior when issued against BinData values. 💥Check my Website💥 Troubleshoot Data Blending in Tableau Part 2 here SHOP values are being replicated, changing the aggregation for the relevant field in the view (for example, from AVG to SUM) will not change the result of the aggregation. Use SIZE (): This is similar to #1, but provides a better visual and is more flexible with other analyses. This aggregation is unsupported: Month . They both share a common field (State), and that is what I'm filtering on. Canonical function. When projecting or adding/resetting a field within an embedded document, you can either use dot notation, as in. Try to. Dashed and solid arrows denote the low-level and high-level aggregation, respectively. unsupported_in_exists_subquery IN/EXISTS predicate subqueries can only be used in filters, joins, aggregations, window functions, projections, and UPDATE/MERGE/DELETE commands`<treeNode>`. The number is a factor by which the grade value will be multiplied before it is added to the sum of all grades, but the item itself will not. automatic. Calculates the number of distinct values of a field within a partition. Chapter Title. Someone in the Community told me the following: "MAX isn't supported in. name from t1 t inner join category c on t. String. UNSUPPORTED_TABLE_ARGUMENT. PDF - Complete Book (10. IF user chooses month X and parameters/filters like gender/age/etc, THEN count all distinct users from data set #2 where the date of data set #2 is from 2017-08-01 through today's date. It does not make sense to have different exception aggregation types for the same account in different models. Golang aggregation group by multiple values with MongoDB. Atlas Build on a developer data platform Database Deploy a multi-cloud database Search Deliver engaging search experiences Vector Search (Preview) Design intelligent apps with GenAI Stream Processing (Preview) Unify data in motion and data at restPossible Reason How to resolve this issue; There's a dimension combination rule that defines this data cell as an invalid member combination for data entry. Summary:. formula one layer above to div the amount. But if i use this "aggs" in transform api "aggregations". The aggregation rule is determined automatically at run time. The following commands do not require automatic encryption. column1 = a. For example, here are the. I thought the problems with Median and CountD being unsupported by DB2 blending were over as of version 9 (i am using. Connect and share knowledge within a single location that is structured and easy to search. The aggregation rule is determined automatically at run time. Amount) as Total from Company left outer Orders on Orders. Jonathan. Blend ID (transaction datasource) =. If the user select May 2018. Atlas Build on a developer data platform Database Deploy a multi-cloud database Search Deliver engaging search experiences Vector Search (Preview) Design intelligent apps with GenAI Stream Processing (Preview) Unify data in motion and data at restunsupported aggregation from blended data problem. We don't get row-level data from secondary. I've tried using COUNTD() ID First Last 1 Jim Carrey 1 Jim Carrey 2 Liam Neeson 3 Wynona Ryder COUNT([ID]) = 4 COUNTD([ID]) results in. Cannot Blend Secondary Data Source - Unsupported Aggregation. Filter each of the data sources independently on the more granular dimensions. Hi All! I would like to ask for your help, I do have two data sources: BI Cube (primary source) & Excel file (secondary) BI Cube Data 1 pc. aggregations. We have a calculated filed where an aggregation (COUNTD) is done on a filed of secondary data source. If one of those measures is brought into a view with a linking dimension not in the view, or a linking dimension is turned on that is not in the view, the pill will turn red, the view will turn grey, and hovering over the pill reveals a "Cannot blend the secondary data source because one or more fields use an unsupported aggregation. Connect and share knowledge within a single location that is structured and easy to search. Cannot blend the secondary data source because one or more fields use an unsupported aggregation" when Data Blending Hello Everyone, I am using one data source which is a LIVE connection and I have duplicated same data source , the reason behind duplication is i want to have total of category which will be constant and it will not. Ditto: { FIXED [Patient ID] : COUNTD([Patient ID]) } Yet there it is in your workbook, very happy and functional. ProductionDate)' is neither present in the group by, nor in an aggregate function. Ditto: { FIXED [Patient ID] : COUNTD([Patient ID]) } Yet there it is in your workbook, very happy and functional. Dimension plus instance of that dimension. " Expand Post. Unsupported Commands. column1. – Ripul. The manual process is: Read the data into a text editor. Approach #3 : An Undocumented / Unsupported Aggregation. Option 2: Rewrite your SELECT without a Correlated Subquery. Loading. Non-additive aggregates are aggregate functions that produce results that cannot be aggregated along a dimension. Databricks matches expressions on best effort : For example it will recognize: SELECT c1 + 5 FROM T GROUP BY 5 + c1 as mathing expressions. The version I am working with 10. Some functions, such as , are available only when you click the summarize button on the report object toolbar. Supported functions. How should I got about with this? Thank you. For more information on exception aggregations, refer to Disaggregation of Values During Data Entry. unsupported aggregation" | Tableau Software. Provide details and share your research!The unsupported aggregation happens when your aggregate requires row-level visibility to the secondary data source. Often the best solution is to rewrite your SELECT without using a correlated sub-query at all. x, a few reports in SRM at times might show the following error "Unsupported Report Aggregation". I believe I first learned. The version I am working with 10. With the release of the MongoDB Analyzer for . 0 or later compatible drivers configured for automatic encryption. Referencing field name from datafeed aggregation to use as a detector in an ML job. Aggregation expressions: The values of multiple rows are grouped together to form a single value based on a mathematical function. 5. I thought about using a parameter but you cant search with a parameter in a prompt, on the other charts that are like this there are hundreds on items. unknown. Wherever possible, the value of calculated is used, then sum. Hi Justin, Thanks for your quick reply. For example, the calculation: IF [Row ID] = 1 THEN SUM( [Sales] ) END could become: SUM(IF [Row ID] = 1 THEN [Sales] END ) Option 4 (Use Level of Detail to De-aggregate a Field) Use a Level of Detail (LOD) Expression to make an aggregation non-aggregate. So two data sources, blended, trying to do a count distinct on product or whatever in the secondary source. Suppose you want to create a pipeline that performs the following operations: Matches all documents with "spring" in the Season fieldNo matter how hard I try I cannot get the Order Count to display correctly. This aggregation is unsupported: Hour . Move the aggregation so the calculation is aggregated. Local variables declared inside curly braces are allowed. Data blending is a way to combine data in Tableau. LACP Compatibility with vDS Basic LACP (LACPv1) is only supported on vSphere versions 6. I tried suggestions from this link, but no luck. blending takes place in step 6 of the Order of Operation after all the context and dimension filters have been applied - you will not be able to filter across the data sets after that point - Teams. If this posts assists in resolving the question, please mark it helpful or as the 'correct answer' if it resolves the. Try to use registered UserDefinedFunction to call your aggregation over window. My goal is simple, inflation adjust wage data, maybe there is a more simple way to accomplish what I used a table calculation for? It seems overly complicated in Tableau the way I am currently adjusting wages to. Aggregation is computed as an average of the values in the result set for this object. You'll need to. A Level of Detail (LOD) expression is being taken from the secondary data source. counts) are maintained for each unique value in the user-specified grouping column. COUNTD([DistrictId]) works fine If all measure & Dimension are part of same table. Other aggs such as cardinality, percentile or terms are not supported at the moment. For example, Sales becomes SUM (Sales). Aggregate using one or more operations over the specified axis. When you add a measure to the view, Tableau automatically aggregates its values. ver <> 0 ) The key is that the correlation clause is using a. I get error: “Cannot blend the secondary data source because one or more fields use an unsupported aggregation. If you have it based of calculated fields then you will need to reference any of the fields you are using in your calculated fields in the visual as well. Try to use this calculation:. (Ditto the FIXED countD. Cannot blend the secondary data source because one or more fields use an unsupported aggregation Did some research on this and found plenty of "workarounds" with no. Choose a reason for hiding this comment. 0, and 5. hello. Learn more about TeamsNote: Link Aggregation Control Protocol (LACP) can only be configured through the vSphere Web Client. 1 MongoDB Aggregate shows no result. The . My goal is to create a MONTHLY count of applications by ACADEMIC YEAR, SCHOOL CODE, and GRADE. Measures of type: number or type: yesno act as placeholders so other measures or combinations of measures can be referenced within them. Connect and share knowledge within a single location that is structured and easy to search. I've tried that in the past, and I was always blocked by the unsupported aggregation message. You signed out in another tab or window. See Join Your Data for more information. 5 or below. Cannot blend the secondary data source because one or more fields use an unsupported aggregation. We have a calculated filed where an aggregation (COUNTD) is done on a filed of secondary data source. {FIXED [Machine Nr] : COUNT ( [Machine Nr] )} / {FIXED [Machine Nr] : COUNT ( [Machine Nr] )} This works fine when there is no secondary data source but when I blend with a secondary data source it grays out my sheet i. The reason will be displayed to describe this comment to others. Multiple instances of same dimension. The . S. Query formulas. The (0,0) value indicates that the mongod should generate the Timestamp. See Array Indexes are Unsupported. I keep getting an Unsupported Aggregation error for anything but "terms". The measure is using one of the Defined in expression aggregation types, and the expression for the measure contains what looks like a hard-coded aggregate function. M. Add the ’ [‘ open-square-brackets to the beginning and ‘]’ close-square-brackets to the end. I have the following BigQuery query, which returns results: SELECT a. This aggregation is unsupported: Year . Jim. ) I need to revisit my understanding of the limitations here!Type: Budget. date, t. ) I need to revisit my understanding of the limitations here! unsupported csv filters – spendChange alerts accept filter as comma-separated values; other alert types do not. Also, what's the intention of the formula? Doing a COUNTD on DAY() will count the different calendar days that it happened, ignoring the month. Exception aggregation behavior. Unsupported aggregation in secondary data source using an LOD expression. Extract and aggregate: Take an extract of your data and aggregate it based on the occurrences of Dimension X. Group by with no aggregation expression is not supported. This aggregation is unsupported: Week Number . data,c. Glad that worked out for you Puneeth. Data encrypted using the Public Preview is incompatible with the feature release. 2. elastic. I've tried using COUNTD() ID First Last 1 Jim Carrey 1 Jim Carrey 2 Liam Neeson 3 Wynona Ryder COUNT([ID]) = 4 COUNTD([ID]) results in error Cannot blend the secondary data source because one or more fields use an unsupported aggregation. Elasticsearch Version 8. For example, a min aggregation on an aggregate_metric_double field returns. Cannot blend the secondary data source because one or more fields use an unsupported aggregation. MongoDB Aggregation pipeline problems. I've tried using COUNTD() ID First Last 1 Jim Carrey 1 Jim Carrey 2 Liam Neeson 3 Wynona Ryder COUNT([ID]) = 4 COUNTD([ID]) results in. If this posts assists in resolving the question, please mark it helpful or as the 'correct answer' if it resolves the. I figured out why the exception aggregation is not pushed down to HANA. 0 Native unsupported. Ask Question Asked 3 years, 2 months ago. NET/C# Driver automatically translates LINQ queries into aggregation operations. In first calculation , aggregation should be applied on Measure(Numeric) Value . The examples in this guide use the restaurants collection in the sample_restaurants database provided in the Atlas sample datasets . From my primary data source I have a dimension in columns say 'Customer Segment'. Q&A for work. The following aggregation operation on the orders collection converts the order_date to date before sorting by the date value: // Define stage to add convertedDate field with the converted order_date valueLocal variable usage in aggregations - A local variable cannot be used in an aggregation function if the variable is declared outside of the aggregation function. When I try to add COUNTD([DistrictId]) from my primary to text table. NET/C# Driver automatically translates LINQ queries into aggregation operations. In other words: Column-references must either be part of the grouping keys, or they must be part of the aggregation. Define spend budgets and alert on budget overruns. Note: The backup only stores the vDS configuration from the vCenter Server perspective. UNSUPPORTED_IN_EXISTS_SUBQUERY. Aggregation repository using EtcD as datastore. id = totals1. NET/C# Driver automatically translates LINQ queries into aggregation operations. Cannot blend the secondary data source because one or more fields use an unsupported aggregation. udaf (MyTypedUDAF) ) and call it for aggregate over your window. The unsupported aggregation happens when your aggregate requires row-level visibility to the secondary data source. Resolution # At the time of writing, the Convert XML to Recordset tool outputs all recordset columns as a string. ×Sorry to interrupt. You may choose to manage your own preferences. An introduction to windowed aggregations. 0: Thu Sep 29 20:13:46 PDT 2022; root:xnu-8020. Non-additive aggregates are aggregate functions that produce results that cannot be aggregated along a dimension. I've read through the various posts on here, plus the general troubleshooting posts on the Tableau page on blending data, but can't find a solution. ) If only one of the tables requires row level information, consider making that the primary data source in the blend (I. 51327 - Design Assistant for Vivado Synthesis - SystemVerilog Data Types Support. really need to see your twbx file to be of further help. For example, converting an object or an array fails:cannot blend secondary datasource because one or more fields use an unsupported aggregation . This aggregation is unsupported: Month . The following commands do not require automatic encryption. A value greater than 0 treats a grade item's grades as extra credit during aggregation. When you run certain metric aggregations on an aggregate_metric_double field, the aggregation uses the related sub. 2. 1. Node embedding. If you change Calculation1 to the following, it will no longer act as an aggregate: {FIXED : MAX (MONTH ( [DATE_CREATED]))}hi @Ambreen Firdous (Member) . Please see if it helps , here it says that problem is with COUNT & they have provided one alternative way as well . I’ve created this post in order to share my workaround for bringing over a Count Distinct (COUNTD) from a secondary data source. “Cannot blend the secondary data source because one or more fields use an unsupported aggregation. For example, see Text Search in the Aggregation Pipeline. filter (FilterBuilders. WHERE accounts. This is the correlated subquery: (Select top 1 Column c From table A a_s Where a_s. 0 Installed Plugins No response Java Version bundled OS Version Darwin Kernel Version 21. I have changed the code with your suggested method and now getting this output: "ERROR : Unsupported document type for unmarshalling: []bson. For example, consider the following document:When I use a terms aggregation, it works fine and returns buckets as expected. 52 (a) and (b)) are. If your are trying to find the minimum of your [Date] field by your [Author] field, you might want to construct a LOD calculation to find first date, by author like so: //Creates calculated field for [First Date by author] {FIXED [Author] : MIN ( [Date])} You also have asked about 'double aggregating'. Cannot blend the secondary data source because one or more fields use an unsupported aggregation. Cannot blend the secondary data source because one or more fields use an unsupported aggregation issue. Upgrade: open it with the 2020. All arguments in calculated fields have to be single values or they all.