Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
AndreaPiscitell
Frequent Visitor

Filter by Longest text

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:

 

UserIDBrandModel
User1FiatU
User1FiatUn
User1FiatUno
User2OpelA
User2OpelAs
User2OpelAst
User2OpelAstr
User2OpelAstra

 

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:

UserIDBrandModel
User1FiatUno
User2OpelAstra

 

Thanks in advance

1 ACCEPTED SOLUTION
v-lid-msft
Community Support
Community Support

Hi @AndreaPiscitell ,

 

We can use the following measure to meet your requirement and be dynamical by other slicer.

 

Final Model = MAX('Table1'[Model])

1.PNG

 

 

 

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.

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.

View solution in original post

3 REPLIES 3
v-lid-msft
Community Support
Community Support

Hi @AndreaPiscitell ,

 

We can use the following measure to meet your requirement and be dynamical by other slicer.

 

Final Model = MAX('Table1'[Model])

1.PNG

 

 

 

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.

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

AnkitBI
Solution Sage
Solution Sage

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.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.