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

Looking for a way to calculate survey results on a monthly basis where multiple surveys recorded

Hi I have a lot of survey data, where people can be surveyed multiple times, even in a month, and I have to produce a report on the most recent survey from each person, I use the below as a column in the table to give me the latest date of each persons survey but where I am struggling is if someone asks me to show how the surveys performed in April eg I can filter out all months after April but I can still potentially be double counting any surveys that appeared in April as someone could have taken 10 surveys, and I'm really only concerned with the latest one in each month when giving a report on that month. Its possible that I dont even need the below but I'm not sure what the correct step would be here, thanks if you can help

 

Max Date =
VAR CurrentName = 'Table'[UID]

RETURN
MAXX(
    FILTER( ALL(Table),Table[UID]=CurrentName),
        Table[Created])
1 REPLY 1

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.