Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I have a table with data extracted from an API using python script. The data can be filtered by different arguments in the script and I would like to create a slicer to allow users to select values between A and B of which the selection should be passed to the script as arguments and update the data table and the linked visuals (bar chart). Is that possible? I tried PowerBI parameter / using get_data, there is always a loading circle that will pop up for a brief second but the visual (and I doubt the dataset as well) is not updated.
Any help would be much appreciated, thanks!
@cip , if you are using it visual and added that to visual; it should filter.
But if you are using python to load data it will not filter data based on slicer.
Thank you so much for the reply!
Sorry I didn't make myself clear - I should say I'm trying to get certain subset of data from a dataset via API by using different arguments, and in this case I would like to set a slicer for users to select one string (A or B), then pass this string as argument to the script to pull the corresponding data.
Similar to this:
df = xxx.get( properties="A", )
Then the dataframe should only contain data with properities that match A.
Or would it be easier to use pandas to create the graph and import it as python visual in PowerBI?
Thanks again!
User | Count |
---|---|
80 | |
74 | |
63 | |
61 | |
45 |
User | Count |
---|---|
108 | |
98 | |
89 | |
82 | |
61 |