Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have a composite model that is giving me following error message only in Service but not Desktop.
I've done some research on this issue and there hasn't been anything conclusive. I have read that using the CALCULATE function can cause issues in service when using a Direct Query composite model, and I have some calculated columns that only use CALCULATE to transition from row to filter context. Is there an alternative function(s) that can accomplish this without using CALCULATE?
I have an imported table on the one side of a one to many relationship with a Direct Query. I have a calculated column on the imported side that looks like this:
hi @RYU209
Yes, CALCULATE in calculated column could hide some issue and could always be replaced with iterator functions like SUMX/MINX. You can provide some sample data and let us show how it works.
Hi FreemanZ,
This is how my current calculated column looks like with CALCULATE. This calculated column is on the one side of a one-to-many relationship and is imported.
I want to emulate this same behavior but without using CALCULATE or any other functions that could cause problems in Direct Query. The Direct Query table is on the many side of a one-to-many relationship and is linked by Transaction.
DIRECTQUERY[Attachment Count] is a calculated column created at the data source. The data source can have duplicate "Transactions" that have an Attachment Count of 0 or 1.
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
19 | |
13 | |
7 | |
5 |