We're giving away 30 tickets for FREE! Share your story, your vision, or your hustle and tell us why YOU deserve a ticket.
Apply nowWin a FREE 3 Day Ticket to FabCon Vienna. Apply now
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 |
---|---|
67 | |
61 | |
47 | |
35 | |
32 |
User | Count |
---|---|
87 | |
72 | |
56 | |
49 | |
45 |