Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello everyone,
I am attempting to switch one table in my Power BI report from Import mode to DirectQuery mode.
The below measure code works correctly in Import mode but returns blank values in DirectQuery mode. Interestingly, when I manually input the property_id I use for filtering instead of using a variable, it works fine:
Here are the two tables I am using
And here is the DAX code
I have verified that the property_id is returning the expected IDs.
Any assistance you can provide on this matter would be highly appreciated.
Thank you.
Hello @v-jianboli-msft, I attempted to use MAX instead, but the same error persists. Interestingly, when I output property_id, it appears to be populated correctly.
Hi @izineela ,
This issue may caused by the function FIRSTNONBLANK.
This function is not supported for use in DirectQuery mode when used in calculated columns or row-level security (RLS) rules.
You may need to modify your dax and use somthing else to replace it.
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
22 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
11 | |
9 | |
6 |