Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
hello everybody , I connect mongodb with mongolite instead of ODBC(Because of cost).
but I got some trouble when I search in R.The data is displayed well but not work in power bi.
I try to find the what the problem make this fault.Therefore, it's array make the data list shut.Is any one encounter this situation?
R CODE library(mongolite) m <- mongo("customer",url="myurl") customer <- m$find()
with my screenshot.The blue word are in R and other one is in power bi.
Solved! Go to Solution.
I resolve my problem but itsn't work for all list.
If you had second or third nest it didn't work. I set a loop to search which column is list() and do unlist() then the error is gone!
I update the problem.
mongolite return the query data is
id name belongs 1 user1 a,b,c,d(array) 2 user2 q,w,e,r(array
but power need to convert to this list,may be need the expandID after concat the table.
id name belongs 1 user1 a 1 user1 b 1 user1 c 1 user1 d 2 user2 q 2 user2 w 2 user2 e 2 user2 r
Did smoe buddies came across this situation?
You can split this column to multiple rows in Power query. Please refer to the steps below.
Regards,
Charlie Liao
umm.. it works cool!
but it's specify for known column but not for all list.
And need to covert evely column from list to text (or character) .I thought itsn't great for perfomence.I plan to implement transfer function that type of list is made new Table.
thanks for your tutorial!
I resolve my problem but itsn't work for all list.
If you had second or third nest it didn't work. I set a loop to search which column is list() and do unlist() then the error is gone!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
70 | |
55 | |
38 | |
31 |
User | Count |
---|---|
71 | |
64 | |
64 | |
49 | |
45 |