Sometimes one needs R to merge two tables. However, one can only import data in R from different tables, if there is a clear relationship between the tables. Therefore, please allow multible datasets in the R Script Visual.
5 Comments
- fathomson
Advocate II
Yes, I would like to do this do! What is the current status of this? - michael_luchtNew MemberActually, that is possible: you can add tables in the second argument of the R.Execute command. Eg. instead of R.Execute("#your R script",[dataset=Source]), use R.Execute("#your R script",[dataset1=Source1,dataset2=Source2])
- writetoprithviNew MemberLot of times,we would like users to provide a parameter value and based on that you need to run script for a model e.g. providing k value for K means. Currently, it is not possible. Looks like Michael is talking about R used for data import.
- rickintzNew MemberYes, an addition most urgent! A possible workaround (provided your filtered "parameters table" consists of only one record) would be to create a column of 1s in each of the tables and create a one to many relationship between the "parameters table" and the "base table". However, even in this, Power BI enforces cardinality on the level of original parameter and base tables that define your dataset rather than filtered parameter and base tables that you have in your report, and renders such a join inadmissible
- fbcideas_migusrNew MemberStatus added:Under Review
Recent ideas
Table Visual — Rounded Corners and Pill-Style Cell Backgrounds
Add the option to display cell background colors as rounded rectangles or pill-shaped labels within the native Table visual. Currently, applying a background color fills the entire cell with a solid...urawizardharry6 minutes agoRegular VisitorNew20Views1like1CommentBulk changing column names in Visualizations Pane
We often use raw/api column names or measures with a set nomenclature to be consistent and to keep track of them but we do not want to display these names in the visuals. Currently we have to change ...vishal1401976 minutes agoFrequent VisitorNew9Views1like1CommentTime slicer with date picker customization
The new time slicer with date picker https://learn.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range has this limitation: The relative week options assume weeks start on Sunda...BrunoT20 minutes agoFrequent VisitorNew12Views1like1Comment**BUG** Please fix web model editor UI not working with role-playing dimensions
A key part of complex semantic models is the ability to reuse tables for scenarios like role-playing dimensions (e.g., Date table for DOB, Date table for SalesDate). I've specifically run into this w...arpost3 hours agoPost ProdigyNew4Views0likes0Comments