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.
My problem is as below:
I have a query in direct query mode. A table named “OuterJoin” and four parameters used in SQL query.
When manage the Parameters, I want use the column (AetherExperimentId_T1”)’s distinct value as parameter (AetherExpId_A) ‘s value list.
What I did is generate a table to get the column distinct value and convert to List. Then I can choose this list query as parameter query above.
But when Save it, the error info is as below.
May I know is there a solution if I want to use the column distinct value as Parameter query list in Directquery mode?
Great Thanks!
Please check this method: https://community.powerbi.com/t5/Desktop/Parameterized-SQL-Query-with-query-folding/td-p/171503
You will only be able to reference non-SQL items as text for this to work.
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Thanks ImkeF! I appriciate it! But I need offer user the parameter value list to choose when they open the power BI template since the data is very big. Any suggestion?
Sorry, just recognized that I misread your request.
It seems that removing duplicates is not supported in direct query mode, so this will not work unfortunately.
Any chance that you can create a view in the SQL-server for it instead?
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
72 | |
70 | |
37 | |
29 | |
26 |
User | Count |
---|---|
91 | |
49 | |
45 | |
38 | |
37 |