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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Ces
Frequent Visitor

Filter by response rating scale

Hello, I need your help
 
I have this table that registers a list of clients and their answer to a valuation question asked at different times, what I need is to get a table filtered by unique clients but taking the best answer they have given no matter when they did it.
 
Question.PNG

Thank you in advance
1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi Ces,

 

To achieve your requirement, click query editor-> Merge Queries.

Capture.PNG 

 

After merged, the new table is like below:

2.PNG 

 

After close&applied, create a measure using DAX below:

Best Answer = CALCULATE(MAX(Merge1[Answer]), FILTER(ALLEXCEPT(Merge1, Merge1[Name]), Merge1[Value] = MAX(Merge1[Value])))

3.PNG 

 

Regards,

Jimmy Tao

View solution in original post

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

Hi Ces,

 

To achieve your requirement, click query editor-> Merge Queries.

Capture.PNG 

 

After merged, the new table is like below:

2.PNG 

 

After close&applied, create a measure using DAX below:

Best Answer = CALCULATE(MAX(Merge1[Answer]), FILTER(ALLEXCEPT(Merge1, Merge1[Name]), Merge1[Value] = MAX(Merge1[Value])))

3.PNG 

 

Regards,

Jimmy Tao

Thank you very much Jimmy
 
Works perfectly as intended, but, sorry to bother you a little bit more.
in the solution obtained how it would be possible to count the number of customers who responded "Very Good", "Good", "Regular", etc.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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