Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Everyone, I am very sorry if the title of the thread is not so clear, but i was not sure how to describe the issue.
I have a table (referring to it as Table1) of data which represent searches that users make. However, the data is presented as following:
UserID | Brand | Model |
User1 | Fiat | U |
User1 | Fiat | Un |
User1 | Fiat | Uno |
User2 | Opel | A |
User2 | Opel | As |
User2 | Opel | Ast |
User2 | Opel | Astr |
User2 | Opel | Astra |
How can i modify in Power BI the data in a way that i am able to list only the final model, based on the column UserID and Brand being consistant?
The final result would be seomthing like this:
UserID | Brand | Model |
User1 | Fiat | Uno |
User2 | Opel | Astra |
Thanks in advance
Solved! Go to Solution.
Hi @AndreaPiscitell ,
We can use the following measure to meet your requirement and be dynamical by other slicer.
Final Model = MAX('Table1'[Model])
BTW, pbix as attached.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @AndreaPiscitell ,
We can use the following measure to meet your requirement and be dynamical by other slicer.
Final Model = MAX('Table1'[Model])
BTW, pbix as attached.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks a lot, this works! I appreciate the shared pbix file, it makes everything easier to understand.
Regards, Andrea
Hi - Please use something like below.
New Table = SUMMARIZE(Table3,Table3[UserID],"Brand",max(Table3[Brand]),"Model",max(Table3[Model]))
Thanks
Ankit Jain
Do Mark it as solution if the response resolved your problem. Do Kudo the response if it seems good and helpful.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
148 | |
111 | |
93 | |
84 | |
66 |