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
Joacb761
Frequent Visitor

Trying to create a summary table of min, max, most recent across different categories per client ID

hey everyone,

 

I have a situation where I have an assessment that is given to clients at a structured intervals. It's item on the assessment is a different category where the hope is to decrease the score from 3 - 0. I am trying to create a bar visual that shows the average score on each item at BASELINE (the first time the assessment is given), EVER (the max score on that item that each client has, and LAST (score on the most recent assessment). I'm hitting a wall on how to create the summary table I believe I need. Can anyone help?

 

I currently have two tables

 

Assessment (Client per row)

ClientAssessmentIDDatecategory1category2
902103735439/1/202231
9021037354412/1/202212
902113735459/1/202200
9021122121012/1/202212
902112212103/1/202322

 

Assessment (value per row)

AsssessmentIDcategoryvalue
37354313
37354321
37354411
37354422

 

 

I'm trying to create a third summarized table that looks like this:

ClientIDCategoryRatingTimeFrame
90210category13

baseline

90210category13ever
90210category11last
90210category22

baseline

90210category23ever
90210category20last
90211

 category1

1baseline
90211 category12ever
90211 category10last
90211

 category2

1baseline
90211 category22ever
90211 category22last

 

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi , @Joacb761 

Thanks for your sample data , and for your description, you want to get  "BASELINE (the first time the assessment is given), EVER (the max score on that item that each client has, and LAST (score on the most recent assessment).".

But the end result in your table , i am not surely understand how we can calcualte this by your two tables:

vyueyunzhmsft_0-1684895531169.png

Can you provide some more detailed calculation logic to us like a mathematical formula?

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

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.

Top Solution Authors