Forum Discussion
Measure Issue: works flawless using import query but fails using direct query???
Hi SebastianMaenz ,
When you use DirectQuery in Power BI Service, have you configured gateway?
You can refer to these documents:
What is an on-premises data gateway?
Guidance for deploying a data gateway for Power BI
Install an on-premises data gateway
Manage your data source - SQL Server
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Icey,
the gateway seems to be configured correctly to me. It is possible to get a result for e.g. the measure below (part of the one i would like to use):
- Icey6 years ago
Community Support
Hi SebastianMaenz ,
Please download your PBIX file from Power BI Service and open with Power BI Desktop. Check if there is any difference. Maybe your data has been refreshed and the result is just NULL.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- SebastianMaenz6 years agoFrequent Visitor
Hi,
I have already tried it out within one report using 2 identical measures. One is referenced to the datasource via direct query the other one via import query. Only the latter will show the correct result.
...very frustrating 😒
Best regards,
Sebastian
- Icey6 years ago
Community Support
Hi SebastianMaenz ,
That's so strange. If you are a Pro user, not trial, I suggest you to create a support ticket to get further help.
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.