I was wrong - it's possible. Just that the dataset that goes as the initial input into the R-script has to be a table. But on top of that one can pass parameters to it.
Maybe the problem with your script is simple spelling - it needs to be: Text.From instead of Text.Form 😉
Did I answer your question? Mark my post as a solution!
Proud to be a Datanaut!
How to integrate M-code into your solution -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Kudos to you if you earned one of these! Check your inbox for a notification.
Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.
Find out where you can attend!