Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone,
I haven't been able to find much about R in Power BI related to my task. Basically, I'd like to use a slicer to dynamically change an R visual. For example, a slicer to change the x-axis (e.g. if we're talking sales, I'd like to change the x-axis between Product Category, Country, and Buyer using a slicer). If that is possible, then I'd also be able to do the same to color/fill the graphs depending on a slicer as well.
So far I've tried to use Field Parameters as an input, but it gives me the object not found error even though I've added the Field Parameter to the visualization and called it out in the R code.
Is this possible to do with R in Power BI?
Thanks in advance!
Hi, @TheQ
Based on my research, for your requirement, I'm afraid it couldn't achieve in Power BI for now.
As a workaround, Please have a look at these posts to check if it could help you.
Dynamically switching axis on visuals with Power BI - Kasper On BI
Solved: Dynamic change in X Axis - Microsoft Power BI Community
Dynamic color for slicer - Microsoft Power BI Community
You can submit an idea for it at https://ideas.powerbi.com/forums and wait for users with the same needs as you to vote for you to help make it happen as soon as possible.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |