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.
Hi. So I'm using the SQL - Table valued function in Power BI to visualise my data. the query is like this for example
'select x, y, z from fn.sample(@name, @starttime, @endtime)'
Where '@' are the parameters I need to pass in the query. I have created the parameters in power BI and published, and I can edit the parameter values in app.powerbi.com from the dataset, which is absolutely fine. But now instead of that whole process, I want to use the parameters as filters in the visual. There is no relationship between x,y,z and parameters, because none of them have common values (x - string value, y &z - integers, @name - string value(but not same values as x), @starttime, & @endtime - date). So I'm neither able to use those parameters as new column in the query nor create any relationship so I can use them as filters in the visual.
Any help would be appreciated.
Thanks in advance.
Hi @Anonymous ,
Has your problem been solved, if so, please consider Accept a correct reply as the solution or share your own solution to help others find it.
Best Regards
Lucien
Hi @Anonymous ,
I am not sure but check if this can be achieved using Dynamic M Query Parameter
Dynamic M query parameters in Power BI Desktop (preview) - Power BI | Microsoft Docs
Please accept this as a solution if your question has been answered !!
Appreciate a Kudos 😀
User | Count |
---|---|
79 | |
78 | |
37 | |
33 | |
31 |
User | Count |
---|---|
93 | |
81 | |
59 | |
49 | |
48 |