Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Hi!
I have just one table with a column of names.
name |
aee1 |
aee2 |
aee3 |
aee4 |
aee5 |
aee6 |
aee7 |
aee8 |
aee9 |
aee10 |
I`m trying to get the data through rest api so I`m using the query link : /rest/usermanagement/1/user?username="" . Instead of "" in the username attribute I have to add each username from the column with names (unfortunately, there`s no wildcard for this attribute that I could use to avoid looping through column).
What I have now:
I enter manually the username to the query link and get the detailed info about user. Query returns xml formatted data (there`s no problem with expanding it in the Power BI)
(just one row with data about one user only).
And what I need is:
a lot of rows with the info about each user in one table. Maybe I need to write a function and pass the name column as a parameter to it, but I`m not sure how to do that.
Any help would be really appreciated.
Cheers
Solved! Go to Solution.
Actually the initial problem was getting the list of all users with detailed info using crowd api. I found the solution using query parameter:
crowd/rest/usermanagement/1/search?entity-type=user&start-index=1000&max-results=1000&expand=user
In case anybody will ever need this 🙂
Hi @Anonymous,
If it is convenient, could you share some data sample and your desired output so that we could help further on it.
Best Regards,
Cherry
Hi @Anonymous
Is it possible to share the pbix file?
Please see this post to get your question answered quick.
Regards
Affan
@Anonymous
1. Is your issue relevant to a single table or multiple?
2. If this is a single table, can you please share a sample of this table (by copy pasting the table in excel) atleast 10 records * you can change the actual records to be sample values.
3. If you are having this question to be resolved over multiple tables please share all the table's sample
4. If multiple tables are invlolved in the issue please also share the screenshot of the relationships.
1. I have just one table with one column 'name'.
2. Sure, here it is
name |
aee1 |
aee2 |
aee3 |
aee4 |
aee5 |
aee6 |
aee7 |
aee8 |
aee9 |
aee10 |
3. just one table with one column in it.
I also edited the post again and I hope it`s better for understanding now 🙂
Please, let me know if some more details are needed.
And thank you for your time!
Best,
Mariia
Actually the initial problem was getting the list of all users with detailed info using crowd api. I found the solution using query parameter:
crowd/rest/usermanagement/1/search?entity-type=user&start-index=1000&max-results=1000&expand=user
In case anybody will ever need this 🙂
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
113 | |
96 | |
91 | |
82 | |
69 |
User | Count |
---|---|
159 | |
125 | |
116 | |
111 | |
95 |