The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
11 | |
9 | |
6 | |
6 | |
5 |
User | Count |
---|---|
22 | |
14 | |
14 | |
9 | |
7 |