Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hi
i have a sql statement containing paramater.
@placed=<3
How can I integrate this into PowerBI so a user can select different parameters? I.e. alter the =<3
User Screen would like :
When this number (button) is clicked, it would run the sql query (direct query). That would be enterted in the parameters query and return the specific counts. I can do this in Excel but struggling in PowerBI.
Appreciate the guidance
Thanks
Anthony
Solved! Go to Solution.
@Anonymous
You can create a what if parameter.
Use what-if parameters to visualize variables - Power BI | Microsoft Docs
Then add add the parameter to your measures as an additional filter, for example.
You can selected any number as the filter conditional.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@Anonymous
You can create a what if parameter.
Use what-if parameters to visualize variables - Power BI | Microsoft Docs
Then add add the parameter to your measures as an additional filter, for example.
You can selected any number as the filter conditional.
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
@Anonymous , see if Dynamic M paaremeter can help
https://docs.microsoft.com/en-us/power-bi/connect-data/desktop-dynamic-m-query-parameters
For button you can use slicer with horizontal orientation
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 39 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |