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
xiumi_hou
Post Partisan
Post Partisan

Need help for dax function to show the current score and performance

Dear all,

 

I have a table like below: 

NameSesison DateQuestionScore
People 17/1/2018Q12
People 17/1/2018Q23
People 17/1/2018Q31
People 17/1/2018Q42
People 18/1/2018Q12
People 18/1/2018Q21
People 18/1/2018Q33
People 18/1/2018Q41
People 18/20/2019Q12
People 18/20/2019Q24
People 18/20/2019Q32
People 18/20/2019Q41
People 2   
People 2   
People 2   
People 2   
People 2   
People 2   
People 2   

 

Ex. When I filter people 1, I want to show the last session date score and the comparison with the previous score.

  In this case, the last session date is 2019-08-20, so my ideal result is :

  Capture.JPG

 

The first column is the last session score, then follow by a emoji to indicate it's improve/no change/worsen, and follow by a sentence to indicate the performance. 

If the question score is higher then previous session, then it worsen, if lower, then improved.

 

Thank you so much. Below is the pdix file. If you can help me any part of the calculation, that would be appreciate it. Thanks!

https://1drv.ms/u/s!ArC4uvMBwvXvgQQbeh6EEtv3ZVSP?e=Zb7Oz1

https://1drv.ms/x/s!ArC4uvMBwvXvgQLM3Sy_GYY8WPpn?e=OH2WM8

 

1 ACCEPTED SOLUTION

Hi @xiumi_hou 

 

There too many rows in your data, that takes much long time to run the measures, please kindly check the attached pbix whether meet your requirement.

 

Community Support Team _ Dina Ye
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

10 REPLIES 10

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.