Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Question about Direct Query

Hello guys,

 

I have two tables:

- One with aggregated data which is Imported.

- One with detailed data which is DirectQuery.

Both connected to some dimensions.

 

Then I have a Calendar made it with DAX, and another one which is a copy connected with the other so I can compare data.

 

Measures:

CTR = DIVIDE([Total Clicks];[Total Impressions];0)+0 
(Both Total Clicks and Total Impressions are just simple SUM)
 
When I use this measure everything is ok, but then I have this other measure:
CTR - Comparison = CALCULATE([CTR];ALL(Calendar);USERELATIONSHIP(Calendar[Date];'Calendar - comparison'[Date]))
 
And when I use it, it goes DirectQuery. Does that make any sense? I am missing something there?

Thank you.
 
1 REPLY 1
v-joesh-msft
Solution Sage
Solution Sage

Hi @Anonymous ,

Try changing the direct query mode to import mode to see if it will report an error. It would be helpful to share the screenshots of the error message or partial sample data.

Best Regards,

Community Support Team _ Joey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.