Forum Discussion
Using power bi slicers to filter data on Power BI Custom Visuals using R Plotly
Hi Anonymous ,
Could it be a problem with the data model, would you mind sharing your .pbix file?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
https://drive.google.com/file/d/1zu8XSnaTtVL27dag5SGr0M8wiJJ4Ws5w/view?usp=sharing
Hi again!
Here I have put together a power bi desktop file. In this file you will see the use of my custom visual and also a R visual that I have experienced with. The R script shows that I am able to filter on the slicers on the scatter plot dataset, but when I try to send in two dataset into my custom visual, it works when I use fields from the scatter plot dataset only, and not when I use related fields from other tables.
So it turns down to how can I send in two dataset (x1,y1, x2,y2) both with their filter selections into my Power BI custom visual. dataset 1 which includes x1,y1 and line chart slicer (a disconnected filter) and dataset 2 which includes x2,y2, project, location and perhaps other slicers.
In my R code it is therefore interesting what I can do this this code